I want two composables in a space, one of fixed size and the other taking all the remaining space. I think I can do that, except I want the fixed size element to be at the bottom. How do I do that?
I have a nasty feeling it's simple, but I haven't been able to work it out: 😕
m
Mihai Batista
09/27/2023, 2:24 PM
You can have two composables in a column, with the first composable having
weight(1f)
to take the available space and push the second one to the bottom. ex:
Ah, the "weight" thing. I saw that as a related issue, but I didn't (and still don't) understand how that works.
But, it does work. Thank you @Mihai Batista .