commit | ce772ea8b92b448172483ba9a3d4fc9e60cf5877 | [log] [tgz] |
---|---|---|
author | Abhijit Nukalapati <abhijitnuk@google.com> | Mon Dec 06 16:58:10 2021 -0800 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Mar 31 19:08:42 2023 +0000 |
tree | 0ac978555d6653110ca73594094e5e5a727819a2 | |
parent | bcd276d65779dc73c0d58a4f6f7b1838392687a9 [diff] |
restrict items in PowerMenu to a max height the items in the PowerMenu expand in height to accommodate the change in font size by the user. However according to UX spec, the items should always be 52dp in height, no more, no less. So, in this change, the height is locked to 52dp. The padding is removed so that text doesn't end up getting cut off. The padding/margin is also updated to match the latest spec. Screenshots: Normal font size - https://screenshot.googleplex.com/7tfe2piTgtVbrH3 Largest font size - https://screenshot.googleplex.com/8d5cXc3oLZAp32C BUG: 197032519 Test: Manual test (cherry picked from commit 3345d64634dd3b1c4b0f18d350c7889ba465c2a6) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:224e7fc23428a68f4fc8a3bebd928dd0dbb7294d) Merged-In: Ic5abb829b6bd4d6097deaf3d2a56d8e6b7b2f5df Change-Id: Ic5abb829b6bd4d6097deaf3d2a56d8e6b7b2f5df