summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-05-23 00:38:06 +0000
committer Jorge Gil <jorgegil@google.com> 2024-05-23 19:15:27 +0000
commit7851faac405436149e13e0824654fd499986cc73 (patch)
treee05177cc8b2281ad6a2a2287bdfb25a3452d78d2 /libs/androidfw/StringPool.cpp
parentf727200c079144ed6d4f8465b2ccf3734a39afa5 (diff)
Update App Header buttons background/ripple to spec
Changes the background drawable of the app chip and the maximize and close buttons in the app header to meet these requirements: 1. The clickable/hoverable bounds of the buttons must be as large as possible (40dp height - equal to the header height, 44dp width for the maximize/close buttons). 2. The visible background ripple drawable should be 32x32dp, which means the ripple must be inset since the view bounds are larger than that. 3. The ripple drawable color & opacity is updated to spec, for both hover and pressed states. 4. The maximize button ripple & progress bar are now the same size (32dp) and have updated colors / opacity. Bug: 342266301 Test: hover/press on app chip, maximize, close buttons, check ripple bounds are rounded and have a 2dp margin between itself and the header edges and other buttons. Also check maximize button's progress bar is exactly at the edge of the ripple. Change-Id: I8340761541cdc9f0bdbf424579d5db7b256ed261
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions