mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Prevent touches behind minimized player
This commit is contained in:
parent
c0e1bbbfb6
commit
a4bb22280f
@ -600,16 +600,16 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:alpha="0.9"
|
android:alpha="0.9"
|
||||||
android:paddingLeft="@dimen/video_item_search_padding"
|
|
||||||
android:paddingRight="@dimen/video_item_search_padding"
|
|
||||||
android:descendantFocusability="blocksDescendants"
|
android:descendantFocusability="blocksDescendants"
|
||||||
android:background="?attr/windowBackground" >
|
android:background="?attr/windowBackground" >
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/overlay_thumbnail"
|
android:id="@+id/overlay_thumbnail"
|
||||||
android:layout_width="50dp"
|
android:layout_width="85dp"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:paddingLeft="@dimen/video_item_search_padding"
|
||||||
|
android:paddingRight="@dimen/video_item_search_padding"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:contentDescription="@string/list_thumbnail_view_description"
|
android:contentDescription="@string/list_thumbnail_view_description"
|
||||||
@ -622,8 +622,6 @@
|
|||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingLeft="@dimen/video_item_search_padding"
|
|
||||||
android:paddingRight="@dimen/video_item_search_padding"
|
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:layout_toEndOf="@+id/overlay_thumbnail"
|
android:layout_toEndOf="@+id/overlay_thumbnail"
|
||||||
@ -665,6 +663,7 @@
|
|||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:paddingLeft="@dimen/video_item_search_padding"
|
android:paddingLeft="@dimen/video_item_search_padding"
|
||||||
|
android:paddingRight="@dimen/video_item_search_padding"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
tools:ignore="RtlHardcoded">
|
tools:ignore="RtlHardcoded">
|
||||||
|
|
||||||
|
@ -574,11 +574,12 @@
|
|||||||
android:background="?attr/windowBackground" >
|
android:background="?attr/windowBackground" >
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:paddingLeft="@dimen/video_item_search_padding"
|
|
||||||
android:id="@+id/overlay_thumbnail"
|
android:id="@+id/overlay_thumbnail"
|
||||||
android:layout_width="50dp"
|
android:layout_width="62dp"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
android:paddingLeft="@dimen/video_item_search_padding"
|
||||||
|
android:paddingRight="@dimen/video_item_search_padding"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:contentDescription="@string/list_thumbnail_view_description"
|
android:contentDescription="@string/list_thumbnail_view_description"
|
||||||
@ -591,8 +592,6 @@
|
|||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingLeft="@dimen/video_item_search_padding"
|
|
||||||
android:paddingRight="@dimen/video_item_search_padding"
|
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:layout_toEndOf="@+id/overlay_thumbnail"
|
android:layout_toEndOf="@+id/overlay_thumbnail"
|
||||||
|
Loading…
Reference in New Issue
Block a user