Let's say I have 5 fragments (a,b,c,d,e) and I want to hide the hamburger icon on fragment a, but show the hamburger icon on fragment b,c,d,e. Is there a way to do this?
CodePudding user response:
Can you try this?
getSupportActionBar().setDisplayHomeAsUpEnabled(false)