2018-03-04 21:04:32 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-04 21:04:32 +01:00
|
|
|
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"
|
2018-11-30 11:25:42 +01:00
|
|
|
android:keepScreenOn="true"
|
2018-07-01 15:11:26 +02:00
|
|
|
tools:context="net.schueller.peertube.activity.VideoPlayActivity">
|
2018-03-04 21:04:32 +01:00
|
|
|
|
2018-03-11 02:24:06 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
2018-03-04 21:04:32 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-03-11 02:24:06 +01:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-03-04 21:04:32 +01:00
|
|
|
|
2018-03-11 02:24:06 +01:00
|
|
|
<com.google.android.exoplayer2.ui.PlayerView
|
|
|
|
android:id="@+id/video_view"
|
2018-03-04 21:04:32 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-03-11 02:24:06 +01:00
|
|
|
android:layout_height="250dp"
|
2018-12-25 14:22:16 +01:00
|
|
|
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
|
|
|
|
2018-12-15 21:59:59 +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"
|
2018-03-11 17:21:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-01-04 23:19:10 +01:00
|
|
|
android:layout_height="match_parent">
|
2018-03-04 21:04:32 +01:00
|
|
|
|
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>
|
2018-12-15 21:59:59 +01:00
|
|
|
</RelativeLayout>
|
2018-03-04 21:04:32 +01:00
|
|
|
|
|
|
|
|
2018-12-25 14:22:16 +01:00
|
|
|
</RelativeLayout>
|
2018-12-23 16:42:01 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|