summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2017-02-24 08:59:36 -0800
committerTony Wickham <twickham@google.com>2017-04-25 12:55:02 -0700
commit1237df0a7cb89570b90b30fa30a3c76417ce3b64 (patch)
treea2c446ec276082b074122831a09c15397c2978bc /res/values/dimens.xml
parent343a77e609382bcb9b1d69ea235a9e6d779b719e (diff)
downloadandroid_packages_apps_Trebuchet-1237df0a7cb89570b90b30fa30a3c76417ce3b64.zip
android_packages_apps_Trebuchet-1237df0a7cb89570b90b30fa30a3c76417ce3b64.tar.gz
android_packages_apps_Trebuchet-1237df0a7cb89570b90b30fa30a3c76417ce3b64.tar.bz2
Update icon badges to match spec
- Size defined as percentage of app icon size - Width changes when there are 2 or 3 digits (round rect) - Offset slightly away from the app icon - Had to move drawing to BubbleTextView instead of FastBitmapDrawable - Hide badge when dragging and while popup is open - Tweaks for some color/text parameters Bug: 35744066 Change-Id: Ibb15ca634abaa0729aea637c904c4c6889a58c7c
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index dd8c313..ca74f15 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -182,8 +182,6 @@
<dimen name="system_shortcut_header_icon_padding">12dp</dimen>
<!-- Icon badges (with notification counts) -->
- <dimen name="badge_size">24dp</dimen>
- <dimen name="badge_text_size">12dp</dimen>
<dimen name="badge_small_padding">0dp</dimen>
<dimen name="badge_large_padding">3dp</dimen>