summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-08 10:27:49 -0700
committerWinson Chung <winsonc@google.com>2015-04-09 13:18:31 -0700
commit0f785720667ab8afe4b4620a6c333d382d8659ed (patch)
tree9bd5ddba76c5df2c700e05c7a1829e2fb4d14d92 /res/layout
parent3f471440a8b6b71d4c15501a96befd3b715c9e8f (diff)
downloadandroid_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.gz
android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.tar.bz2
android_packages_apps_Trebuchet-0f785720667ab8afe4b4620a6c333d382d8659ed.zip
Initial changes to support a fixed all-apps layout.
- Dynamically update padding and background depending on fixed bounds and searchbar - Fixes issue with drag layer bg getting clobbered when rotating launcher - Tapping outside the bounds of all apps should close all apps - Fixing typo causing widgets to not show in sw720dp devices Bug: 20127840 Change-Id: I29c3f905bdee940f938ffe054f58434887073092
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/apps_list_view.xml7
-rw-r--r--res/layout/apps_reveal_view.xml1
-rw-r--r--res/layout/apps_view.xml3
3 files changed, 2 insertions, 9 deletions
diff --git a/res/layout/apps_list_view.xml b/res/layout/apps_list_view.xml
index 3e42f8489..595c46caf 100644
--- a/res/layout/apps_list_view.xml
+++ b/res/layout/apps_list_view.xml
@@ -25,8 +25,6 @@
android:id="@+id/app_search_box"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/apps_container_inset"
- android:layout_marginRight="@dimen/apps_container_inset"
android:padding="16dp"
android:hint="@string/apps_view_search_bar_hint"
android:maxLines="1"
@@ -37,7 +35,7 @@
android:textColor="#4c4c4c"
android:textColorHint="#9c9c9c"
android:imeOptions="actionDone|flagNoExtractUi"
- android:background="@drawable/apps_list_search_bg"
+ android:background="@drawable/apps_search_bg"
android:elevation="4dp" />
<com.android.launcher3.AppsContainerRecyclerView
android:id="@+id/apps_list_view"
@@ -48,6 +46,5 @@
android:paddingBottom="12dp"
android:clipToPadding="false"
android:focusable="true"
- android:descendantFocusability="afterDescendants"
- android:background="@drawable/apps_list_bg" />
+ android:descendantFocusability="afterDescendants" />
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/apps_reveal_view.xml b/res/layout/apps_reveal_view.xml
index bc93359c1..2951ea4f4 100644
--- a/res/layout/apps_reveal_view.xml
+++ b/res/layout/apps_reveal_view.xml
@@ -21,5 +21,4 @@
android:layout_gravity="center"
android:elevation="15dp"
android:visibility="invisible"
- android:background="@drawable/apps_reveal_bg"
android:focusable="false" /> \ No newline at end of file
diff --git a/res/layout/apps_view.xml b/res/layout/apps_view.xml
index 86d67e15f..7f09f7795 100644
--- a/res/layout/apps_view.xml
+++ b/res/layout/apps_view.xml
@@ -21,9 +21,6 @@
android:id="@+id/apps_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingTop="@dimen/apps_container_inset"
- android:paddingBottom="@dimen/apps_container_inset"
- android:background="@drawable/apps_customize_bg"
android:descendantFocusability="afterDescendants">
<include
layout="@layout/apps_reveal_view"