OSDN Git Service

Visual updates for popup
authorTony <twickham@google.com>
Wed, 10 May 2017 00:23:47 +0000 (19:23 -0500)
committerTony <twickham@google.com>
Wed, 10 May 2017 01:02:23 +0000 (20:02 -0500)
commit0b8a6fe53240f8c8271efed0fc470a65553707de
tree4d8bbfb5b8a262d896a1315b067ad7c7c7266da7
parent9a1227105a00ea740151f91ae3aab75a688d32ac
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
12 files changed:
res/layout/deep_shortcut.xml
res/layout/notification.xml
res/layout/notification_footer.xml
res/layout/notification_main.xml
res/layout/system_shortcut.xml
res/layout/system_shortcut_icons.xml
res/values/colors.xml
res/values/dimens.xml
src/com/android/launcher3/notification/NotificationItemView.java
src/com/android/launcher3/popup/PopupContainerWithArrow.java
src/com/android/launcher3/popup/PopupItemView.java
src/com/android/launcher3/shortcuts/ShortcutsItemView.java