If I have a full edge to edge app (so my status ba...
# compose
c
If I have a full edge to edge app (so my status bar is transparent), and I open up a bottom sheet full screen... it goes all the way up behind the status bar. Where would I add my status bar insets so that the bottom sheet doesn't go all the way to the top?
c
Just simply add it to the
BottomSheet
itself.
c
Hm. Why did that not work last time. I will give it another go...
Ah. Okay. So I'm using bottomSheet destinations from accompanist. Not sure how to apply padding in that situation.
c
You should still add it to your
BottomSheet
which wraps the
NavHost
c
But then my entire screen gets inset
t
@Colton Idle did you ever work this one out?
c
I think I did? But I think my solution was to basically create my own bottom sheet composable and apply it there. Then the actual bottom sheet just hosts that composable so i had to adjust the bottom sheet so that it had a transparent background etc. So the bottom sheet is basically a container with no UI associated to it.