OSDN Git Service

Update notification view to match newer specs
authorTony Wickham <twickham@google.com>
Tue, 21 Feb 2017 23:16:12 +0000 (15:16 -0800)
committerTony Wickham <twickham@google.com>
Fri, 24 Feb 2017 20:09:06 +0000 (12:09 -0800)
commit7f3526a1a4d5d3578d4648abb1422646d23c6080
tree92b451eba0558f192c84d4c982e9d754940e10ff
parente05b08f705e517be42da35a12508e54c05b1b5ff
Update notification view to match newer specs

- Use smaller radius for notifications round rect background
- Remove "Notifications" header, and clip children to round rect path
- Flip main notification so that icon shows on the right instead of
  left; footer is also flipped so animation makes sense
- Clean up animations to animate view outline instead of height

Bug: 32410600
Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
14 files changed:
res/drawable/bg_white_pill_bottom.xml [deleted file]
res/drawable/bg_white_round_rect.xml [moved from res/drawable/bg_white_pill_top.xml with 86% similarity]
res/layout/notification.xml
res/layout/notification_footer.xml
res/layout/notification_main.xml
res/values/dimens.xml
src/com/android/launcher3/LauncherAnimUtils.java
src/com/android/launcher3/anim/PillHeightRevealOutlineProvider.java [new file with mode: 0644]
src/com/android/launcher3/anim/PropertyResetListener.java [new file with mode: 0644]
src/com/android/launcher3/badge/BadgeRenderer.java
src/com/android/launcher3/notification/NotificationFooterLayout.java
src/com/android/launcher3/notification/NotificationItemView.java
src/com/android/launcher3/popup/PopupContainerWithArrow.java
src/com/android/launcher3/popup/PopupItemView.java