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>
This commit is contained in:
Chris Narkiewicz 2020-08-25 18:24:53 +01:00
parent 1fec59e719
commit 6e6f8303a8
No known key found for this signature in database
GPG key ID: 30D28CA4CCC665C6

View file

@ -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>