How to hide default hamburger icon of Navigation view android
问题 I need to hide the hamburger icon This is my toolbar I need to hide the default hamburger icon of navigation bar and load it from another button click.The navigation bar need to appear on the attachment icon click in my toobar and need to disappear when i click outside(anywhere).Can this be done ? 回答1: if you are using ActionBarDrawerToggle then you can add a line toggle.setDrawerIndicatorEnabled(false); and opening and closing drawer you can write in your click event if (drawer.isDrawerOpen