(FIXED) Can any one help me with this? on Multipla...
# multiplatform
a
(FIXED) Can any one help me with this? on Multiplaform Android ()
Copy code
enableEdgeToEdge(
            statusBarStyle = SystemBarStyle.auto(Color.TRANSPARENT,Color.TRANSPARENT),
            navigationBarStyle = SystemBarStyle.auto(Color.TRANSPARENT,Color.TRANSPARENT),
            )
v
By enabling
edgeToEdge
you are telling
Compose
to lay the views without caring for the system bars, hence the overlap. What you probably want is to use
.systemBarsPadding()
or more specifically in your case
.navigationBarsPadding()
to have the
BottomNavigationBar
be taller with the amount required by the system.
a
@Vlad Mircan after adding .navigationBarsPadding()
v
You need to add it to the desired component and after applying the background
🙌 1
a
@Vlad Mircan Thanks! Fixed
v
Awesome! Glad to be able to help, you can read more about it here
👀 1