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
Big Chungus
08/20/2021, 6:37 PM
Have a look at spotiflyer on github
👆 1
c
Chris Sinco [G]
08/20/2021, 9:41 PM
Do look into using
Modifier.weight
for child contents within Box/Column/Row which allows them to dynamically grow/shrink more relatively