title: Change ActionBarDrawerToggle "hamburger" icon dynamically?
body: <p>I am using a DrawerLayout and the ActionBarDrawerToggle to allow the user to open it by tapping the "hamburger" icon.</p>
  
  <p>I have now added in a Bottm Sheet, using a third party library (as no offical support exists) but I still want to use the design guidelines written for Bottom Sheets. This means I should really change the hamburger icon to be an "X" so it can be closed by tapping it (as well as swiping down ot in the content area)</p>
  
  <p>So, how can I dynamically change the hamburger icon to an X (preferably animated) and then back to the hamburger again when the bottom sheet is closed?</p>
  
  <p>I tried the following, but it didn't work:</p>
  
  <pre><code>mDrawerToggle.setHomeAsUpIndicator(R.drawable.ic_clear_white_24dp);
  </code></pre>