I'm trying to understand how to make layouts respo...
# compose-desktop
r
I'm trying to understand how to make layouts responsive when resizing. I'm trying to build this spotify look-a-like for desktop, all I have is nested Columns, Rows, Boxes and no support for constraint layout yet. In second image, when I try to resize to small window size, it lays views almost on top of each other instead of hiding the complete bottom player. Am I missing anything ?
b
Have a look at spotiflyer on github
👆 1
c
Do look into using
Modifier.weight
for child contents within Box/Column/Row which allows them to dynamically grow/shrink more relatively
👍 3