Skip to content

Commit

Permalink
Correctly move focus from toolbar search bar to dropdown
Browse files Browse the repository at this point in the history
We don't hide MainFragment when search is show, so FocusFinder
sometimes gives focus to (obscured) main content
  • Loading branch information
Alexander committed Oct 7, 2019
1 parent 3a985a5 commit 9f0e689
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout/toolbar_search_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
android:drawablePadding="8dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:nextFocusDown="@+id/suggestions_list"
android:hint="@string/search"
android:imeOptions="actionSearch|flagNoFullscreen"
android:inputType="textFilter|textNoSuggestions"
Expand Down

0 comments on commit 9f0e689

Please sign in to comment.