20 lines
731 B
XML
20 lines
731 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.exoplayer2.ui.PlayerView
|
|
android:animateLayoutChanges="true"
|
|
android:id="@+id/video_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/videoBackgroundColor"
|
|
app:controller_layout_id="@layout/video_playback_controls"
|
|
app:resize_mode="fixed_width"
|
|
app:show_buffering="always"
|
|
/>
|
|
|
|
|
|
</LinearLayout> |