浏览代码

Fix unresponsive preview player controls

Media controls view were covered by a ScrollView
stealing all touch events. By changing it to FrameLayout,
touch events can reach media controls.

Content embedded inside ScrollView should not
exceed screen boundaries. If so - content must
be changed.

This fixes immediate problem with unresponsive media controls
reported in #6796 and #6782.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Chris Narkiewicz 4 年之前
父节点
当前提交
6e6f8303a8
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      src/main/res/layout/file_preview.xml

+ 2 - 5
src/main/res/layout/file_preview.xml

@@ -68,13 +68,10 @@
             android:layout_margin="@dimen/standard_margin" />
     </RelativeLayout>
 
-
-    <ScrollView
+    <FrameLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent">
-
         <include layout="@layout/empty_list" />
-    </ScrollView>
-
+    </FrameLayout>
 
 </RelativeLayout>