I have an app that has an activity and that activity has a bottom nav bar and 3 fragments in that bottom nav bar. Now I want my home fragment to be edge to edge display. But if I enableEdgeToEdge in my beige activity then the rest of my fragments that I don’t need to show it are also showing.
After enableEdgeToEdge()
Problem in Another Fragment
I want edgeToedge to show only when my home fragment arrives. Otherwise, the default status bar will show.
Md. Rahadul Islam Rahad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.