diff options
Diffstat (limited to 'res/layout/activity_video_player.xml')
-rw-r--r-- | res/layout/activity_video_player.xml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/res/layout/activity_video_player.xml b/res/layout/activity_video_player.xml index 4b054cd..90fbb37 100644 --- a/res/layout/activity_video_player.xml +++ b/res/layout/activity_video_player.xml @@ -16,17 +16,9 @@ --> <!-- TODO(b/123635879) Replace keepScreenOn with a better solution --> -<LinearLayout +<androidx.media2.widget.VideoView xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" + android:id="@+id/video_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:keepScreenOn="true"> - - <androidx.media2.widget.VideoView - android:id="@+id/video_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - /> - -</LinearLayout> + android:keepScreenOn="true"/> |