diff options
author | Evan Laird <evanlaird@google.com> | 2018-05-10 13:13:27 -0400 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2018-05-10 13:13:27 -0400 |
commit | 97ae20c5d841a244369dba5decaa3ab994cdad33 (patch) | |
tree | b10076e38454dcc5f601c9fd4b3650328ffc7306 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a1aafd771827b7625b059842451cf63abbb4b41f (diff) |
Allow mobile status bar icon to overflow
With display size set to larest, a wide notch emulated, and battery
percentage showing, it's possible to not be able to fit a single status
icon other than the battery. In this case, the mobile icon needs to
overflow into the etc area.
Some other changes:
- set View.INVISIBLE instead of View.GONE when hiding the mobile view so
that it correctly reports its width on measure
- Don't subtract padding from width when laying out StatusIconContainer
Test: visual
Change-Id: Ic8e73402a3371331dd4c803f3c4559da276ba0a2
Fixes: 78149953
Fixes: 77504032
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions