Skip to content
Commit 30b4d18b authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent 56c006f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment