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
This commit is contained in:
Tony Wickham
2017-04-10 14:05:34 -07:00
parent cd4cc97f6f
commit ce44516dd8
16 changed files with 109 additions and 148 deletions

View File

@@ -167,7 +167,7 @@ public class FastBitmapDrawable extends Drawable {
}
}
protected IconPalette getIconPalette() {
public IconPalette getIconPalette() {
if (mIconPalette == null) {
mIconPalette = IconPalette.fromDominantColor(Utilities
.findDominantColorByHue(mBitmap, 20));