https://kotlinlang.org logo
Title
g

Gerardo Ernesto Rodriguez Navar

01/27/2022, 1:05 PM
I have a CoordinatorLayout which contains (FragmentContainer + BottomNavigation)
Now I’m showing a fragment which contains a LazyColumn
But the last item is behind the BottomNavigation
Should be like this
Is there a way to get like the compose bottom navigation, the “insets padding” or some way to make my ComposeView fit the correct size?
m

Matti MK

01/27/2022, 1:48 PM
From the Scaffolding you can get `PaddingValues`:
f

FunkyMuse

01/27/2022, 2:19 PM
You can add padding to your lazy column's function parameters, that basically behaves like clip to padding false and padding bottom
g

Gerardo Ernesto Rodriguez Navar

01/27/2022, 5:39 PM
Thanks for the advise! I’ll check it out 😉