0

My goal is to prevent toolbar navigation icon from changing when navigating. View below is created by nesting Bottom Navigation within Material Toolbar.

The idea here is to have a bottom navigation bar to navigate around the main features of the app while also having a drawer to monitor other aspects of the app.

Initial state

the problem I am facing is that when I move to Calendar Fragment, the navigation icon is switched to back button. I would like the navigation icon to stay as drawer icon.

after navigation state

so far I've tried suggestions below however none of it works shown in:

How to set my own Menu and Back icons for Toolbar?

How to disable Navigation Icon when using Android Jetpack Navigation

Toolbar - Switching from drawer to back button with only one Activity

JV17
  • 43
  • 5

0 Answers0