diff options
author | Tony <twickham@google.com> | 2017-05-10 13:05:32 -0500 |
---|---|---|
committer | Tony <twickham@google.com> | 2017-05-31 15:11:43 -0700 |
commit | acaf5b3a37af11b40166c10e856175bb96cb1476 (patch) | |
tree | b2e91e84ecad5863266da8dea058eea56779b037 /res/layout | |
parent | d5645d406bf50bd9c8004a597e29908b26d09925 (diff) | |
download | android_packages_apps_Trebuchet-acaf5b3a37af11b40166c10e856175bb96cb1476.tar.gz android_packages_apps_Trebuchet-acaf5b3a37af11b40166c10e856175bb96cb1476.tar.bz2 android_packages_apps_Trebuchet-acaf5b3a37af11b40166c10e856175bb96cb1476.zip |
Remove gap between popup items
- Unround interior corners
- Update colors (shortcuts are gray when next to
notifications, notifications always white)
- Clean up animation to animate entire popup with
simple reveal instead of individual items
animating with reveal and icon scale
Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/horizontal_divider.xml | 5 | ||||
-rw-r--r-- | res/layout/notification.xml | 6 | ||||
-rw-r--r-- | res/layout/shortcuts_item.xml | 3 |
3 files changed, 8 insertions, 6 deletions
diff --git a/res/layout/horizontal_divider.xml b/res/layout/horizontal_divider.xml new file mode 100644 index 000000000..33773ebfa --- /dev/null +++ b/res/layout/horizontal_divider.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<View xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="@dimen/popup_item_divider_height" + android:background="?android:attr/listDivider"/>
\ No newline at end of file diff --git a/res/layout/notification.xml b/res/layout/notification.xml index f955c6b80..a03dd0833 100644 --- a/res/layout/notification.xml +++ b/res/layout/notification.xml @@ -19,9 +19,7 @@ android:id="@+id/notification_view" android:layout_width="@dimen/bg_popup_item_width" android:layout_height="wrap_content" - android:elevation="@dimen/deep_shortcuts_elevation" - android:background="@drawable/bg_white_round_rect" - android:backgroundTint="@color/notification_color_beneath"> + android:elevation="@dimen/deep_shortcuts_elevation"> <RelativeLayout android:layout_width="match_parent" @@ -35,7 +33,7 @@ android:layout_height="@dimen/notification_header_height" android:paddingStart="@dimen/notification_padding_start" android:paddingEnd="@dimen/notification_padding_end" - android:background="@color/popup_header_background_color" + android:background="@color/popup_background_color" android:elevation="@dimen/notification_elevation"> <TextView android:id="@+id/notification_text" diff --git a/res/layout/shortcuts_item.xml b/res/layout/shortcuts_item.xml index 8b20bcbdc..e54462e7a 100644 --- a/res/layout/shortcuts_item.xml +++ b/res/layout/shortcuts_item.xml @@ -19,8 +19,7 @@ android:id="@+id/shortcuts_view" android:layout_width="@dimen/bg_popup_item_width" android:layout_height="wrap_content" - android:elevation="@dimen/deep_shortcuts_elevation" - android:background="@drawable/bg_white_round_rect"> + android:elevation="@dimen/deep_shortcuts_elevation"> <LinearLayout android:id="@+id/deep_shortcuts" |