Make widget pickers edit text box parent focusable.

This is so that when focus is cleared from edit text box, the focus
fallbacks to parent view when external keyboard is used.

Bug: b/197129170
Test: Manually checked that behavior is okay when widget picker and
search is used with and without keyboard. Manually checked talkback
navigation is ok.

Change-Id: Iec2e1ff183dae20803ba2f6eb6e260d2a57779b8
This commit is contained in:
Alina Zaidi 2021-09-24 14:56:02 +01:00
parent 494bd4e880
commit de262a919a
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_widgets_full_sheet">
android:background="@drawable/bg_widgets_full_sheet"
android:focusable="true"
android:importantForAccessibility="no">
<View
android:id="@+id/collapse_handle"