Adil
03/28/2024, 7:57 AMenableEdgeToEdge(
statusBarStyle = SystemBarStyle.auto(Color.TRANSPARENT,Color.TRANSPARENT),
navigationBarStyle = SystemBarStyle.auto(Color.TRANSPARENT,Color.TRANSPARENT),
)
Vlad Mircan
03/28/2024, 8:11 AMedgeToEdge
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.Adil
03/28/2024, 8:12 AMVlad Mircan
03/28/2024, 8:13 AMAdil
03/28/2024, 8:15 AMVlad Mircan
03/28/2024, 8:18 AM