From b808e1102f7f081da5af38fb8e065f9a0320e1bf Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 19 Sep 2017 12:05:54 -0700 Subject: Disabling state saving for search textbox as search results are not preserved across activity recreate Bug: 65661416 Change-Id: I0bd6414cea8d25b341374cd40ecaa270d5f19c18 (cherry picked from commit dee55f92ad3c74797a0e5689d526b1258a3d90b9) --- res/layout/search_container_all_apps.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/res/layout/search_container_all_apps.xml b/res/layout/search_container_all_apps.xml index c4305214d..fc07002cb 100644 --- a/res/layout/search_container_all_apps.xml +++ b/res/layout/search_container_all_apps.xml @@ -19,11 +19,11 @@ android:layout_width="match_parent" android:layout_height="@dimen/all_apps_search_bar_height" android:layout_gravity="center|top" + android:layout_marginBottom="-8dp" android:gravity="center|bottom" - android:saveEnabled="false" android:paddingLeft="@dimen/dynamic_grid_edge_margin" android:paddingRight="@dimen/dynamic_grid_edge_margin" - android:layout_marginBottom="-8dp" > + android:saveEnabled="false" >