소스 검색

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 1 년 전
부모
커밋
7d4af1f8cc
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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"