Farhazul Mullick
04/13/2024, 8:03 AMhorizontalArrangement
is not provided in compose.glance.layout.Row
?Chrimaeon
04/13/2024, 8:33 AMsindrenm
04/15/2024, 4:57 AMFarhazul Mullick
04/15/2024, 4:59 AMdefaultWeight()
, there is no weight( )
modifier which accepts a value between 0 to 1.sindrenm
04/15/2024, 9:00 AMsindrenm
04/15/2024, 9:00 AMModifier.weight(Float)
accepts higher numbers than 1f
as well. You can have a weight(1f)
next to a weight(2f)
, for instance, which will make the first take of 1/3 of the space and the second take up 2/3 of the space. A little easier than 0.333333...f
. 😉