To switch the indicator you should use:
public void toogleDrawer(boolean value){ mDrawerToggle.setDrawerIndicatorEnabled(!value); getSupportActionBar().setDisplayHomeAsUpEnabled(value); }
Please post the full code related to your fragment of the box, and the settings of the action bar (if any), as well as the corresponding layouts. You should research a bit before asking a question. Check this question here: Cannot listen to carriage clicks
Everyone can provide specific answers to your problem if you add more content to it.
source share