summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Jamie Garside <jgarside@google.com> 2022-07-22 15:12:54 +0100
committer Jamie Garside <jgarside@google.com> 2022-07-26 13:30:05 +0000
commitc193051908561b95033132c50cea7df5bf954b30 (patch)
tree7cb11fb9ae8242f35948c2b1d83e15f5079f32d9 /libs/androidfw/Util.cpp
parentdf74b6ddbcb4dbca8d81f807ed1fc21b3647d28e (diff)
Ensure PIN text view stays on screen regardless of font size.
This was previously only anchored to the top of the "1" button, so ConstraintLayout didn't care if it fell off-screen. This also adds a constraint to pin it to the top of the parent container (with a bias to drop it to the bottom of the available space); this ensures that it remains on-screen. With font/display density set to max, the buttons now get a little smaller, but the text view is still on screen. Test: Manually verified. Bug: 236950644 Change-Id: Iac0209e297c6c80af616199637871a427184a1ad
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions