It looks like using `NavigationSuiteScaffold` does...
# compose-android
n
It looks like using
NavigationSuiteScaffold
does not allow Edge-to-Edge to function in Android 35. Is that correct or am I missing something?
c
what do you mean with
does not allow Edge-to-Edge
n
I mean that my status bar shows as if
enableEdgeToEdge()
was not there.
c
do you have a screenshot?
n
image.png
c
yes, that’s what its supposed to look like. it handles the window insets for you like a usual Scaffold. same for the bottom navigation thats inset by the navigation height.
👍 1
n
Ok, I thought that with edge-to-edge the status bar was sort of transparent and that this is the new style recommended by Google. In this screen, I am using a Scaffold with
safeContent
because the NavigationSuiteScaffold does not appear to handle things like the punch-hole etc. I have a lot of padding as a result... Not sure I am using the whole thing correctly.
c
yes, edge-to-edge makes it “transparent” aka you need to draw the content behind the system bars. a scaffold hides that behavior again.
n
Ah, right, so a scaffold does not allow edge-to-edge, I get it. Thanks for confirming!