https://kotlinlang.org logo
#compose
Title
# compose
n

Neil

11/02/2020, 9:44 AM
Hi all, Just been trying LazyRowFor in alpha06. I’ve notice a problem when using a constraint layout in each item. In the constraint I have a background image, surface and logo image. They should be displayed in this order with the background image at the back and logo image at the front. The order the items are overlaid is now inconsistent as you scroll through the row. This worked ok in alpha02.
h

Hitanshu Dhawan

11/02/2020, 10:15 AM
This is a known issue and will be fixed in an upcoming release. More here, https://issuetracker.google.com/issues/171291358
For an immediate fix you can use
Modifier.zIndex
for your ConstraintLayout children
n

Neil

11/02/2020, 10:40 AM
Great, thanks, I’ll give that a try. 👍
2 Views