diff options
author | Tony <twickham@google.com> | 2017-05-09 19:23:47 -0500 |
---|---|---|
committer | Tony <twickham@google.com> | 2017-05-09 20:02:23 -0500 |
commit | 0b8a6fe53240f8c8271efed0fc470a65553707de (patch) | |
tree | 4d8bbfb5b8a262d896a1315b067ad7c7c7266da7 /res/layout/notification.xml | |
parent | 9a1227105a00ea740151f91ae3aab75a688d32ac (diff) | |
download | android_packages_apps_Trebuchet-0b8a6fe53240f8c8271efed0fc470a65553707de.tar.gz android_packages_apps_Trebuchet-0b8a6fe53240f8c8271efed0fc470a65553707de.tar.bz2 android_packages_apps_Trebuchet-0b8a6fe53240f8c8271efed0fc470a65553707de.zip |
Visual updates for popup
- Update some dimens
- Increase left padding for shortcuts
- Adjust arrow and notification ellipsis offset accordingly
- Align shortcut dividers to be same width as text
- Notification text 14sp instead of 15sp
- Increase width of popup by 12dp
- Shortcuts text 87% black instead of 54%
- Arrow has same color as attached side, so takes on header
gray instead of white when appropriate
Bug: 37753827
Change-Id: I0844b85995f22218a3b7e605e1653cceaed6cda1
Diffstat (limited to 'res/layout/notification.xml')
-rw-r--r-- | res/layout/notification.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/notification.xml b/res/layout/notification.xml index 4250e1e54..f955c6b80 100644 --- a/res/layout/notification.xml +++ b/res/layout/notification.xml @@ -35,7 +35,7 @@ android:layout_height="@dimen/notification_header_height" android:paddingStart="@dimen/notification_padding_start" android:paddingEnd="@dimen/notification_padding_end" - android:background="@color/notification_header_background_color" + android:background="@color/popup_header_background_color" android:elevation="@dimen/notification_elevation"> <TextView android:id="@+id/notification_text" @@ -67,7 +67,7 @@ android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="@dimen/popup_item_divider_height" - android:background="@color/divider_color" + android:background="?android:attr/listDivider" android:layout_below="@id/main_view"/> <include layout="@layout/notification_footer" |