@jush is there a way to set this insets just for a specific composable?
In my application I have a lot of screens (I’m using Jetpack Navigation) and I just want the full screen in one of them.
What I get so far is: put the whole application full screen and set
.systemBarsPadding()
modifier in all screens… Is this the only way?
cc: @cb
j
jush
03/16/2021, 2:48 PM
Sorry I don't know.
😞 1
👍 1
c
cb
03/16/2021, 4:31 PM
What I get so far is: put the whole application full screen and set
systemBarsPadding()
modifier in all screens… Is this the only way?
Yep. Note, this is the intention for 'going edge to edge' anyway. Also, I wouldn't really call this going 'full screen', but 'system bar aware'