Merge cherrypicks of ['googleplex-android-review.googlesource.com/26424687'] into 24Q2-release.
Change-Id: Ia6a9ea09ee3fa07ac349fb15f907ed9b401ac313
This commit is contained in:
@@ -34,8 +34,7 @@
|
|||||||
android:paddingStart="@dimen/search_bar_padding_start"
|
android:paddingStart="@dimen/search_bar_padding_start"
|
||||||
android:paddingEnd="@dimen/search_bar_padding_end"
|
android:paddingEnd="@dimen/search_bar_padding_end"
|
||||||
android:background="@drawable/search_bar_selected_background"
|
android:background="@drawable/search_bar_selected_background"
|
||||||
android:focusable="true"
|
android:touchscreenBlocksFocus="false"
|
||||||
android:focusableInTouchMode="true"
|
|
||||||
android:nextFocusForward="@+id/homepage_container"
|
android:nextFocusForward="@+id/homepage_container"
|
||||||
android:contentInsetStartWithNavigation="@dimen/search_bar_content_inset"
|
android:contentInsetStartWithNavigation="@dimen/search_bar_content_inset"
|
||||||
android:navigationIcon="@drawable/ic_homepage_search">
|
android:navigationIcon="@drawable/ic_homepage_search">
|
||||||
|
@@ -29,8 +29,7 @@
|
|||||||
android:paddingStart="@dimen/search_bar_padding_start_two_pane"
|
android:paddingStart="@dimen/search_bar_padding_start_two_pane"
|
||||||
android:paddingEnd="@dimen/search_bar_padding_end_two_pane"
|
android:paddingEnd="@dimen/search_bar_padding_end_two_pane"
|
||||||
android:background="@drawable/search_bar_selected_background"
|
android:background="@drawable/search_bar_selected_background"
|
||||||
android:focusable="true"
|
android:touchscreenBlocksFocus="false"
|
||||||
android:focusableInTouchMode="true"
|
|
||||||
android:nextFocusForward="@+id/homepage_container"
|
android:nextFocusForward="@+id/homepage_container"
|
||||||
android:contentInsetStartWithNavigation="@dimen/search_bar_content_inset"
|
android:contentInsetStartWithNavigation="@dimen/search_bar_content_inset"
|
||||||
android:navigationIcon="@drawable/ic_homepage_search">
|
android:navigationIcon="@drawable/ic_homepage_search">
|
||||||
|
@@ -100,6 +100,7 @@ public interface SearchFeatureProvider {
|
|||||||
// and goes to the search UI. Also set the background to null so there's no ripple.
|
// and goes to the search UI. Also set the background to null so there's no ripple.
|
||||||
final View navView = toolbar.getNavigationView();
|
final View navView = toolbar.getNavigationView();
|
||||||
navView.setClickable(false);
|
navView.setClickable(false);
|
||||||
|
navView.setFocusable(false);
|
||||||
navView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
|
navView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||||
navView.setBackground(null);
|
navView.setBackground(null);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user