How do I create something like this in compose whe...
# compose
v
How do I create something like this in compose where there is overlap between the Card and Image? Should I be using Box? I’ve tried a Column with a negative spacing arrangment but that didnt seem to work for me
d
I would Suggest both elements be inside a Box.
c
You can use the offset Modifier on the elements within a Box. Or if you need a lot more control, there’s ConstraintLayout in Compose
👍 1
c
I did this recently and went with offset, but yeah... I couldn't help but think that maybe there's a better way.