summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-03-09 17:29:01 -0700
committerRaj Yengisetty <rajesh@cyngn.com>2015-03-09 17:29:03 -0700
commit861d111c8bd4efa55b676452e5a04feedc276527 (patch)
tree62e6efa0583fa06873507b1ead34851cb565cfdf /res
parent2372ffc2bbccac6a567488b76565213bae89d2ac (diff)
downloadandroid_packages_apps_Trebuchet-861d111c8bd4efa55b676452e5a04feedc276527.zip
android_packages_apps_Trebuchet-861d111c8bd4efa55b676452e5a04feedc276527.tar.gz
android_packages_apps_Trebuchet-861d111c8bd4efa55b676452e5a04feedc276527.tar.bz2
App Drawer: take dynamic grid updates
- Also fix row length so icons aren't cut off when large icons are enabled Change-Id: Iae95dc2380abee211eeed72eae08cafa4ec354f7
Diffstat (limited to 'res')
-rw-r--r--res/layout/drawer_icon.xml2
-rw-r--r--res/values/dimens.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/res/layout/drawer_icon.xml b/res/layout/drawer_icon.xml
index 1cdea78..6c804f1 100644
--- a/res/layout/drawer_icon.xml
+++ b/res/layout/drawer_icon.xml
@@ -18,6 +18,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
+ android:paddingLeft="@dimen/vertical_app_drawer_icon_padding"
+ android:paddingRight="@dimen/vertical_app_drawer_icon_padding"
android:layout_height="wrap_content">
<ImageView
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 91bfaef..81e40bf 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -123,5 +123,5 @@
<dimen name="scrubber_height">48dp</dimen>
<!-- Vertical app drawer padding -->
- <dimen name="vertical_app_drawer_icon_padding">5px</dimen>
+ <dimen name="vertical_app_drawer_icon_padding">5dp</dimen>
</resources>