<?xml version="1.0" encoding="utf-8"?> <!-- NewPlayer @author Christian Schabesberger Copyright (C) NewPipe e.V. 2024 <code(at)newpipe-ev.de> NewPlayer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. NewPlayer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with NewPlayer. If not, see <http://www.gnu.org/licenses/>. --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <net.newpipe.newplayer.VideoPlayerView android:id="@+id/new_player_video_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="50dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" android:name="net.newpipe.newplayer.VideoPlayerFragment" /> <TextView android:id="@+id/hw_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World!" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/new_player_video_view" /> </androidx.constraintlayout.widget.ConstraintLayout>