Hi, how can I have a Box fixed to the bottom while having a LazyColumn above while having both in a Column ?
d
darkmoon_uk
09/14/2021, 7:12 AM
Put them both in a
Column
having
fillMaxSize
and set
weight(1.0f)
on the
LazyColumn
so it fills all the space except the
Box
, which then gets pushed to the bottom.
a
Ayfri
09/14/2021, 7:14 AM
I thing I badly explained, I want the box to stick to the bottom while still being able to scroll in the LazyColumn, like in messaging apps where you have the SendMessage "box" sticked
d
darkmoon_uk
09/14/2021, 7:16 AM
Yes, the above should do it 😄
d
Dominaezzz
09/14/2021, 7:40 AM
Ah, you want the box to hover above the lazy column sometimes?