diff options
author | Tony Wickham <twickham@google.com> | 2017-04-10 14:05:34 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-04-11 16:44:38 -0700 |
commit | ce44516dd869dff1d6a744e26625a662d9567a10 (patch) | |
tree | 9bdca8838804fefb913d73fcf92d62883a3699cc /res/layout/system_shortcut_icons.xml | |
parent | cd4cc97f6f761b8cc377821a2214432a376dd4f8 (diff) | |
download | android_packages_apps_Trebuchet-ce44516dd869dff1d6a744e26625a662d9567a10.tar.gz android_packages_apps_Trebuchet-ce44516dd869dff1d6a744e26625a662d9567a10.tar.bz2 android_packages_apps_Trebuchet-ce44516dd869dff1d6a744e26625a662d9567a10.zip |
Update popup to match redlines
- Update specs in dimens.xml and colors.xml
- Move notification count to top right, and keep "Notifications" in left
- Also removed NotificationHeaderView and instead use FrameLayout
- Limit to 2 shortcuts instead of 3 if there are notifications
- Use SP instead of DP for text (b/35869307)
Bug: 35766387
Change-Id: I892640933ad6351946af3df6c805b98bb4e7cb50
Diffstat (limited to 'res/layout/system_shortcut_icons.xml')
-rw-r--r-- | res/layout/system_shortcut_icons.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/system_shortcut_icons.xml b/res/layout/system_shortcut_icons.xml index bf0a2512a..9dc56e41d 100644 --- a/res/layout/system_shortcut_icons.xml +++ b/res/layout/system_shortcut_icons.xml @@ -18,8 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/system_shortcut_icons" android:layout_width="match_parent" - android:layout_height="@dimen/bg_popup_item_height" - android:paddingEnd="@dimen/deep_shortcut_padding_start" + android:layout_height="@dimen/system_shortcut_header_height" android:orientation="horizontal" android:gravity="end|center_vertical" android:background="@color/notification_header_background_color" /> |