summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2022-04-14 21:29:22 +0000
committer Mady Mellor <madym@google.com> 2022-04-14 21:42:11 +0000
commit81bd659c441335eba001a5f9bd5ba371d48869a2 (patch)
tree737848cf780592d060779654db9c24f557285212 /libs/androidfw/AssetsProvider.cpp
parent83464b4395add40c0303d22a61c0e306b08e1286 (diff)
Fix bubble expanded view jumping to the left when switching bubbles
When the bubbles are shown vertically on the left side of the screen and you tapped between them, the view would be misaligned for a bit during the animation. This was happening because the padding being applied to the view didn't account for the space the pointer triangle took up. The fix is to add the size of the pointer to the padding when showing vertically on the left side. Bug: 196444014 Test: manual - expand a bubble on a large screen on the left side - tap between the bubble and the overflow or other bubbles => observe that the expanded view doesn't jump a bit to the left manual - test switching between bubbles on phone, phone landscape (left & right sides), and tablet on the right side => observe that the animation looks correct Change-Id: Icb3cd87843504ab31da8005fb72f36daae387d39
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions