summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-06-01 14:38:24 -0700
committerWinson Chung <winsonc@google.com>2015-06-05 09:49:12 -0700
commit2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8 (patch)
treef181fbee9f46ddf18adc42a4d9c823ccd2f1b5fe /res/layout
parenta56eab41fbfe26b185cc8240d50d231d0db41837 (diff)
downloadandroid_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.tar.gz
android_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.tar.bz2
android_packages_apps_Trebuchet-2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8.zip
Ensuring that we use the screen width more optimally in AllApps.
- Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/all_apps_container.xml1
-rw-r--r--res/layout/all_apps_icon.xml2
-rw-r--r--res/layout/all_apps_prediction_bar_icon.xml2
3 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/all_apps_container.xml b/res/layout/all_apps_container.xml
index a20ab46d8..fc77cd31f 100644
--- a/res/layout/all_apps_container.xml
+++ b/res/layout/all_apps_container.xml
@@ -38,6 +38,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_apps_search_bar_height"
+ android:paddingBottom="@dimen/all_apps_prediction_bar_bottom_padding"
android:orientation="horizontal"
android:descendantFocusability="afterDescendants"
android:focusable="true"
diff --git a/res/layout/all_apps_icon.xml b/res/layout/all_apps_icon.xml
index 10ed25c47..0985e95c0 100644
--- a/res/layout/all_apps_icon.xml
+++ b/res/layout/all_apps_icon.xml
@@ -20,7 +20,7 @@
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="left|center_vertical"
+ android:layout_gravity="center"
android:paddingTop="@dimen/all_apps_icon_top_bottom_padding"
android:paddingBottom="@dimen/all_apps_icon_top_bottom_padding"
android:focusable="true"
diff --git a/res/layout/all_apps_prediction_bar_icon.xml b/res/layout/all_apps_prediction_bar_icon.xml
index 1e75d14b6..5f63f6bdb 100644
--- a/res/layout/all_apps_prediction_bar_icon.xml
+++ b/res/layout/all_apps_prediction_bar_icon.xml
@@ -19,7 +19,7 @@
style="@style/Icon.AllApps"
android:id="@+id/icon"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:focusable="true"