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
Loading
Please register or sign in to comment