title: Android: How to disable the ActionBar button that opens navigation drawer
body: <p>How to disable the ActionBar button that opens navigation drawer?</p>
  
  <p>I use the code below to disable opening the navigation drawer using swipe, but its action bar button (at Top/Left) still active and can be used to open the navigation drawer.</p>
  
  <pre><code> DrawerLayout navigationDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
   navigationDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
  </code></pre>