1
0
mirror of https://github.com/sschueller/peertube-android synced 2025-03-13 01:30:06 +01:00
Thorium-android-app/app/src/main/res/layout/activity_video_play.xml

58 lines
2.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
tools:context="net.schueller.peertube.activity.VideoPlayActivity">
2018-03-11 02:24:06 +01:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2018-03-11 02:24:06 +01:00
android:layout_height="match_parent">
2018-03-11 02:24:06 +01:00
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/video_view"
android:layout_width="match_parent"
2018-03-11 02:24:06 +01:00
android:layout_height="250dp"
android:background="@color/videoBackgroundColor"
2018-12-29 15:09:20 +01:00
app:controller_layout_id="@layout/video_playback_controls"
2019-01-04 23:19:10 +01:00
app:resize_mode="fixed_width"
2018-03-11 02:24:06 +01:00
2018-12-29 15:09:20 +01:00
/>
2018-03-11 02:24:06 +01:00
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/video_view"
android:indeterminate="false"
android:max="100" />
2019-01-04 23:19:10 +01:00
<RelativeLayout
2018-03-11 02:24:06 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/progress"
android:orientation="vertical">
2019-01-04 23:19:10 +01:00
<ScrollView
android:id="@+id/login_form"
android:layout_width="match_parent"
2019-01-04 23:19:10 +01:00
android:layout_height="match_parent">
2019-01-04 23:19:10 +01:00
<fragment android:name="net.schueller.peertube.fragment.VideoMetaDataFragment"
android:id="@+id/video_meta_data_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2018-12-24 10:00:32 +05:30
2019-01-04 23:19:10 +01:00
</ScrollView>
</RelativeLayout>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>