summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/activity_video_player.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/activity_video_player.xml b/res/layout/activity_video_player.xml
index 1eac3bd..dbd9f4e 100644
--- a/res/layout/activity_video_player.xml
+++ b/res/layout/activity_video_player.xml
@@ -19,7 +19,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:keepScreenOn="true">
<androidx.media2.widget.VideoView
android:id="@+id/video_view"