Fixing crash during rotation
> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation
Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml
index c2b1e6f..a677fff 100644
--- a/res/layout/all_apps.xml
+++ b/res/layout/all_apps.xml
@@ -39,6 +39,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/main_content"
+ android:saveEnabled="false"
android:visibility="gone"
android:layout_gravity="center"
android:focusable="true"
@@ -60,6 +61,7 @@
<LinearLayout
android:id="@+id/search_container"
android:layout_width="match_parent"
+ android:saveEnabled="false"
android:layout_height="@dimen/all_apps_search_bar_height"
android:layout_gravity="start|top"
android:orientation="horizontal"