summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-05-08 09:19:52 -0400
committerFabian Kozynski <kozynski@google.com>2019-05-08 09:23:42 -0400
commit30b4d18bae3d5261f10399a41a6682d80457a408 (patch)
treeb15f213f845e9da059c108dadc7cbd1d05e596b8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent56c006f5a6238bc73731cc8d77009c72e9602c27 (diff)
Fix TileLayout#onMeasure
The width value for setMeasuredDimension was wrong, as it was adding the padding, which was already included as this is the width we get from the parent. This caused each TilePage in PagedTileLayout to be 8dp wider than the container and then they overlapped at the edges, appearing in the next page. Test: visual using showLayoutBounds Test: manual using Talkback, previous page not focused Fixes: 132048870 Change-Id: Idd5d4567cfe25dd1e11a02995286a29606eac6e0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions