title: Prevent NavigationDrawer from opening on Home Button Click
body: <p>I have a NavigationDrawer for my main activity, in one instance I show a fragment and the "Hamburger menu" changes into an arrow.</p>
  
  <p>I disabled the ability to open the drawer via swipe when that fragment is shown by using this</p>
  
  <pre><code>mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
  </code></pre>
  
  <p>and it works fine but now the problem is the user can still open the drawer by clicking the home button "Arrow". I want the arrow to act as the back button and not open the drawer so how can I stop the drawer from opening?</p>