summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-09-19 12:05:54 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-09-27 21:05:03 +0000
commitb808e1102f7f081da5af38fb8e065f9a0320e1bf (patch)
tree3e3febf65acd014dff014a65854f363f92ed3b2d /res
parent11ee2f6e8fe4075856589fd5dd3e4b5ba326be2c (diff)
downloadandroid_packages_apps_Trebuchet-b808e1102f7f081da5af38fb8e065f9a0320e1bf.tar.gz
android_packages_apps_Trebuchet-b808e1102f7f081da5af38fb8e065f9a0320e1bf.tar.bz2
android_packages_apps_Trebuchet-b808e1102f7f081da5af38fb8e065f9a0320e1bf.zip
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)
Diffstat (limited to 'res')
-rw-r--r--res/layout/search_container_all_apps.xml5
1 files 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" >
<!--
Note: The following relation should always be true so that the shadows are aligned properly
@@ -45,6 +45,7 @@
android:imeOptions="actionSearch|flagNoExtractUi"
android:inputType="text|textNoSuggestions|textCapWords"
android:maxLines="1"
+ android:saveEnabled="false"
android:scrollHorizontally="true"
android:singleLine="true"
android:textColor="?android:attr/textColorSecondary"