summaryrefslogtreecommitdiffstats
path: root/res/layout
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/layout
parent034d74da197c4aac790bfdf16bef8527e3f18fca (diff)
downloadandroid_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.tar.gz
android_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.tar.bz2
android_packages_apps_Trebuchet-5a1ca5756ecea6784743f5cd1540844c1a83b36f.zip
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/layout')
-rw-r--r--res/layout/notification_main.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/layout/notification_main.xml b/res/layout/notification_main.xml
index b2443f5d9..7a8cf6d5c 100644
--- a/res/layout/notification_main.xml
+++ b/res/layout/notification_main.xml
@@ -30,7 +30,8 @@
android:gravity="center_vertical"
android:background="?attr/popupColorPrimary"
android:paddingStart="@dimen/notification_padding_start"
- android:paddingEnd="@dimen/notification_main_text_padding_end">
+ android:paddingEnd="@dimen/notification_main_text_padding_end"
+ android:paddingBottom="16dp">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
@@ -58,6 +59,7 @@
android:layout_width="@dimen/notification_icon_size"
android:layout_height="@dimen/notification_icon_size"
android:layout_marginEnd="@dimen/notification_padding_end"
+ android:layout_marginBottom="8dp"
android:layout_gravity="center_vertical|end" />
</com.android.launcher3.notification.NotificationMainView>