Media controls - overflow menu radius doesn't match Clank standard |
||||
Issue descriptionHwi pointed out that we don't match the standard Clank radius with our overflow menu. We should correct that. Looking at the stickersheet, I see radii that are 0,1, and 2. Hannah - can you let us know what the guidance is here? We'll update to match.
,
Oct 5 2017
Hi and thanks for filing this bug Rachel! Stable Chrome's current corner radius is set by a 9-patch (1dp at mdpi) but you should be able to reuse the app menu background asset called "menu_bg") - so hopefully you guys don't need to rebuild it / can use this to make your file size smaller. (I recently shaved a lot off the png so it's nearly half the size).
,
Nov 6 2017
We unfortunately can't re-use the 9-patch image as the media controls UI is coming from a different place. The media controls overflow menu is used on desktop too for example. I think it might be interesting to converge the style though.
,
Nov 6 2017
Agreed, it'd make sense for them to all be the same. How do we draw the radii on harmony dialogs? Can we use the same shadow/corner styling if they're the same as clank?
,
Nov 7 2017
Apologies, I didn't realize that 9-patches are an Android specific image format... +Edward - by any chance do you know of any webUI that uses the same overflow menu background drop shadow as our standard Clank menus? If not we may need to build this from scratch as it seems like desktop uses a different shadow and corner radius (with an added outline that I believe changes based on display resolution).
,
Nov 8 2017
We don't use Web UI for the media controls too but CSS. I think given the screenshot above, beccahughes@ should be able to update our overflow to be closer to the Android UI.
,
Nov 8 2017
I'm not aware of any WebUI overflow menus that match that style. The settings pages are the closest in terms of Material styling, but even they don't use custom drop down menus which I think would be closest.
,
Nov 10 2017
Gotcha, thanks for the fast response! Please let me know how you'd prefer specs for the corner/shadow (or feel free to ping me directly! Thanks!)
,
Aug 1
|
||||
►
Sign in to add a comment |
||||
Comment 1 by rachelis@chromium.org
, Oct 5 2017