summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2017-06-05 17:37:50 -0700
committerTony Wickham <twickham@google.com>2017-06-19 18:42:46 -0700
commit5a1ca5756ecea6784743f5cd1540844c1a83b36f (patch)
tree07fb5a90c3f33e263d0022c7552bcec8980d63b1 /res/values/dimens.xml
parent034d74da197c4aac790bfdf16bef8527e3f18fca (diff)
downloadandroid_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.zip
android_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.tar.gz
android_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.tar.bz2
Adjust some sizes in popup
- Increase main notification height and pad text/icon bottom - Reduce shortcuts height when there are notifications to 48dp - When the last notification is dismissed, animate back to 56dp Bug: 35766387 Change-Id: I84f843c042137fdf93fa720802eb2f19337197b4
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 8d6b501..b90de82 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -155,6 +155,7 @@
<dimen name="deep_shortcuts_elevation">9dp</dimen>
<dimen name="bg_popup_item_width">220dp</dimen>
<dimen name="bg_popup_item_height">56dp</dimen>
+ <dimen name="bg_popup_item_condensed_height">48dp</dimen>
<dimen name="pre_drag_view_scale">6dp</dimen>
<!-- an icon with shortcuts must be dragged this far before the container is removed. -->
<dimen name="deep_shortcuts_start_drag_threshold">16dp</dimen>
@@ -198,7 +199,7 @@
<!-- notification_padding_end + (icon_size - footer_icon_size) / 2 -->
<dimen name="notification_footer_icon_row_padding">15dp</dimen>
<dimen name="notification_header_height">32dp</dimen>
- <dimen name="notification_main_height">80dp</dimen>
+ <dimen name="notification_main_height">96dp</dimen>
<dimen name="notification_footer_height">32dp</dimen>
<dimen name="notification_header_text_size">13sp</dimen>
<dimen name="notification_header_count_text_size">12sp</dimen>