Explorar o código

Don't affect reader toolbars/sheets when using custom brightness

Closes #8444
You should be able to tap to bring up the menus even if the brightness is too low.
arkon hai 1 ano
pai
achega
7d4af1f8cc
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      app/src/main/res/layout/reader_activity.xml

+ 6 - 6
app/src/main/res/layout/reader_activity.xml

@@ -37,6 +37,12 @@
         android:focusable="false"
         android:visibility="gone" />
 
+    <View
+        android:id="@+id/brightness_overlay"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:visibility="gone" />
+
     <FrameLayout
         android:id="@+id/reader_menu"
         android:layout_width="match_parent"
@@ -144,12 +150,6 @@
 
     </FrameLayout>
 
-    <View
-        android:id="@+id/brightness_overlay"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:visibility="gone" />
-
     <androidx.compose.ui.platform.ComposeView
         android:id="@+id/dialog_root"
         android:layout_width="match_parent"