android - Navigation component - Hide navigation up icon ... The toolbar.setupWithNavController() method calls through to the Toolbar methods of setNavigationIcon() and setTitle().Those methods know nothing about your custom icon or title - they only update the built in navigation icon and title. That means that toolbar.setupWithNavController() is not something you should ever be calling.. Instead, if you want your custom Toolbar layout to react to ...