diff options
author | Mady Mellor <madym@google.com> | 2021-04-15 14:06:13 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2021-04-29 15:24:49 -0700 |
commit | 8e5f4733ee3b1145c2f8a59fc4122801b8a3efc8 (patch) | |
tree | 01cfbe39982345f604122b947b57d88dfc66fa86 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c05b6dbe204459c37fc938339922831f479e481e (diff) |
Restrict the width of bubble expanded view on large screens
* Width is restricted via padding applied to the view when the device
is considered large screen
* Adjusted animation code so bubbles slide in from edges when showing
vertically
* Overflow uses max height available when on a large screen
* Fixed a bug where overflow height wasn't being updated correctly
since it's no longer using an activity
* Fixed a bug where when the view was expanded & you rotated its
position could be off
Test: manual - expand bubble on large screen from left / right edges
in landscape & portrait
=> bubbles should be anchored to edge they are opened from
& positioned vertically along the edge
- expand bubble on phone in portrait
=> bubbles should be anchored to the top edge &
horizontally
- expand bubble on phone in landscape, check overflow
=> bubbles should be anchored to the edge they are opened
from & positioned vertically along the edge, the
overflow should have a restricted width
Bug: 175211639
Change-Id: I7c3f3024260a08ebdf4c6e7c7724e51fbc480f61
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions