teapod/app/src/main/res/layout/activity_player.xml

28 lines
1.1 KiB
XML
Raw Normal View History

2020-10-11 13:18:20 +02:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-10-23 11:51:09 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2020-10-11 13:18:20 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
2020-10-11 13:18:20 +02:00
android:background="#000000"
tools:context=".PlayerActivity">
2020-11-05 18:47:49 +01:00
<com.google.android.exoplayer2.ui.StyledPlayerView
2020-10-11 13:18:20 +02:00
android:id="@+id/video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-10-23 11:51:09 +02:00
android:layout_gravity="center"
app:fastforward_increment="10000"
app:rewind_increment="10000"
app:controller_layout_id="@layout/player_controls"/>
2020-10-11 13:18:20 +02:00
<com.google.android.material.progressindicator.ProgressIndicator
2020-10-11 13:18:20 +02:00
android:id="@+id/loading"
style="@style/Widget.MaterialComponents.ProgressIndicator.Circular.Indeterminate"
2020-10-11 13:18:20 +02:00
android:layout_width="70dp"
android:layout_height="70dp"
android:layout_gravity="center"
tools:visibility="visible" />
2020-10-11 13:18:20 +02:00
</FrameLayout>