Browse Source

ReaderActivity: Block focus on viewer (#5996)

Ivan Iskandar 3 years ago
parent
commit
c8f70efded
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/src/main/res/layout/reader_activity.xml

+ 2 - 1
app/src/main/res/layout/reader_activity.xml

@@ -13,7 +13,8 @@
         <FrameLayout
         <FrameLayout
             android:id="@+id/viewer_container"
             android:id="@+id/viewer_container"
             android:layout_width="match_parent"
             android:layout_width="match_parent"
-            android:layout_height="match_parent" />
+            android:layout_height="match_parent"
+            android:descendantFocusability="blocksDescendants" />
 
 
         <eu.kanade.tachiyomi.ui.reader.PageIndicatorTextView
         <eu.kanade.tachiyomi.ui.reader.PageIndicatorTextView
             android:id="@+id/page_number"
             android:id="@+id/page_number"