summaryrefslogtreecommitdiffstats
path: root/app/src
diff options
context:
space:
mode:
authorChristophe Henry <contact@c-henry.fr>2022-07-17 17:34:53 +0200
committerChristophe Henry <contact@c-henry.fr>2022-07-17 17:53:10 +0200
commitfe4eb61df042ff7a5b1992fdab53d2a14088d857 (patch)
tree510d527ea3d82143c5f9786bc8a1775fac156cde /app/src
parent867d2ed49288db686759f74f0edd6659713b42aa (diff)
Keep the screen on when displaying images
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/fragment_slide_media.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_slide_media.xml b/app/src/main/res/layout/fragment_slide_media.xml
index 5ac3674f2..312780b0b 100644
--- a/app/src/main/res/layout/fragment_slide_media.xml
+++ b/app/src/main/res/layout/fragment_slide_media.xml
@@ -9,7 +9,8 @@
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:fillViewport="true">
+ android:fillViewport="true"
+ android:keepScreenOn="true">
<RelativeLayout
android:id="@+id/media_fragment_container"