Merge "Add an invisible layer to trap focus" into sc-dev

This commit is contained in:
Hongwei Wang
2021-02-03 01:22:03 +00:00
committed by Android (Google) Code Review

View File

@@ -97,4 +97,14 @@
android:padding="@dimen/pip_resize_handle_padding"
android:src="@drawable/pip_resize_handle"
android:background="?android:selectableItemBackgroundBorderless" />
</FrameLayout>
<!-- invisible layer to trap the focus, b/169372603 -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@null"
android:defaultFocusHighlightEnabled="false"
android:focusable="true"
android:focusableInTouchMode="true"
android:focusedByDefault="true" />
t </FrameLayout>