diff options
| author | Lyn Han <lynhan@google.com> | 2020-02-19 20:33:45 -0800 |
|---|---|---|
| committer | Lyn Han <lynhan@google.com> | 2020-02-20 19:35:26 -0800 |
| commit | cd4f87efbbe8c66f2eed9c2ea9b919611e5424f4 (patch) | |
| tree | 0f89b22e58890a3293ca9b2632e1c31e1376b717 /docs/html/sdk/api_diff/24/changes | |
| parent | 3cd75d77e29e7cb9ffd6bb0e007e2dc99abb3215 (diff) | |
Better overflow button
Overflow button as BadgedImageView
- BadgedImageView uses launcher’s icon factory to render overflow icon, which fixes the size and space inconsistencies between real bubbles and a bare ImageView
- BadgedImageView gives us access to the existing dot drawing logic, which we can later use to draw a dot on overflow button when overflow bubbles get updates
- Replace Bubble with BubbleViewProvider inside BadgedImageView so that BadgedImageView can access BubbleOverflow’s dot info
UI polish
- Set margins for overflow bubbles
- Set padding for overflow empty state
- Set overflow button and dot color to accent color from theme
- Render overflow button based on theme and dark mode; update on change
Bug: 149146374
Bug: 148878911
Test: manual - overflow button shape, icon color updates on theme change
Test: manual - overflow button color updates on dark mode change
Test: manual - overflow UI looks like mocks (specs not final)
Test: atest SystemUITests
Change-Id: I3d8829d56bce5c80936698a038438aff6db42d0f
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
