summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMartin Brabham <optedoblivion@cyngn.com>2015-04-13 12:56:07 -0700
committerMatt Garnes <matt@cyngn.com>2015-04-27 23:30:27 +0000
commit22c34f768d1cf58f7b340350ef0a64b2c1ae9485 (patch)
tree818bbca91faed12630afb8a16b1b5d17aa309bea /res
parent5d2f7ac2757bb2454a558d14760e4c26129d494d (diff)
downloadandroid_packages_apps_Trebuchet-22c34f768d1cf58f7b340350ef0a64b2c1ae9485.zip
android_packages_apps_Trebuchet-22c34f768d1cf58f7b340350ef0a64b2c1ae9485.tar.gz
android_packages_apps_Trebuchet-22c34f768d1cf58f7b340350ef0a64b2c1ae9485.tar.bz2
Clean up scrolling
- Eliminate creation of garbage - Square up interface - Post animation signals to handler so they can be cancelled and redispatched with new data for the updated signal. Change-Id: I9824b7eb762a8d565e22e118bf3f07a8a4791ce8
Diffstat (limited to 'res')
-rw-r--r--res/layout/app_drawer_container.xml2
-rw-r--r--res/layout/app_drawer_item.xml2
-rw-r--r--res/values/colors.xml1
-rw-r--r--res/values/dimens.xml8
4 files changed, 11 insertions, 2 deletions
diff --git a/res/layout/app_drawer_container.xml b/res/layout/app_drawer_container.xml
index 30a4cee..1469066 100644
--- a/res/layout/app_drawer_container.xml
+++ b/res/layout/app_drawer_container.xml
@@ -82,4 +82,4 @@
android:visibility="invisible"
android:layout_height="100dp" />
</RelativeLayout>
-</FrameLayout> \ No newline at end of file
+</FrameLayout>
diff --git a/res/layout/app_drawer_item.xml b/res/layout/app_drawer_item.xml
index 5d3b946..46a9652 100644
--- a/res/layout/app_drawer_item.xml
+++ b/res/layout/app_drawer_item.xml
@@ -54,7 +54,7 @@
android:layout_marginTop="10dp"
android:layout_marginLeft="6dp"
android:layout_centerVertical="true"
- android:includeFontPadding="false"
+ android:includeFontPadding="true"
android:gravity="center"
android:singleLine="true"
autofit:minTextSize="8sp"
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 082489d..7f2f07a 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -56,4 +56,5 @@
<color name="app_scrubber_gray_color">@android:color/darker_gray</color>
<color name="scrubber_background">#CC14191E</color>
+ <color name="aftv_shadowColor">#b0000000</color>
</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 5394ea7..124bcb7 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -126,4 +126,12 @@
<dimen name="vertical_app_drawer_icon_padding">5dp</dimen>
<dimen name="app_drawer_scrubber_padding">20dp</dimen>
+
+ <!-- App Drawer Item -->
+ <dimen name="container_paddingStart">6dp</dimen>
+ <dimen name="container_paddingEnd">6dp</dimen>
+ <dimen name="aftv_width">32dp</dimen>
+ <dimen name="aftv_marginTop">10dp</dimen>
+ <dimen name="aftv_minTextSize">8sp</dimen>
+ <dimen name="aftv_textSize">24sp</dimen>
</resources>