diff options
author | Fabian Kozynski <kozynski@google.com> | 2021-06-04 11:00:04 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2021-06-04 11:16:02 -0400 |
commit | 09e9a3be0b91a4ce70144b04d4ef66bf5bee575a (patch) | |
tree | 54796a9e61fb23be81af25dfad9b1eb6f8b5c3b2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 598a1595e361912ac78e00f4482070a272ac4497 (diff) |
Fix margins around tiles in QSCustomizer
When tiles are moved, only those that are marked as modified will be
forced to update the item offsets, with the others maybe never getting
the chance. Given that moving may make tiles change columns and
therefore their margin, this is not good.
Instead, have the LayoutManager always poll the MarginItemDecoration for
the correct margins for elements that are not TextView (tiles), then set
that as the margin.
Also, fix margins for RTL.
Test: manual
Bug: 188640649
Change-Id: I4aaef4887a6f50e5070c764048b67792dec3a35c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions