@Override public boolean onOptionsItemSelected(MenuItem item) { return mDrawerLayout.getDrawerLockMode(Gravity.START) == DrawerLayout.LOCK_MODE_LOCKED_CLOSED || mDrawerToggle.onOptionsItemSelected(item) || super.onOptionsItemSelected(item); }