Enable right drawer in desktop mode
This commit is contained in:
parent
5dc3e8923c
commit
1cc7a6c5f2
@ -126,7 +126,8 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
|
|||||||
mActionBar.setDisplayHomeAsUpEnabled(false); // Hide "up" indicator
|
mActionBar.setDisplayHomeAsUpEnabled(false); // Hide "up" indicator
|
||||||
mActionBar.setHomeButtonEnabled(false); // Make icon unclickable
|
mActionBar.setHomeButtonEnabled(false); // Make icon unclickable
|
||||||
mActionBar.setTitle(mIitc.getString(R.string.app_name));
|
mActionBar.setTitle(mIitc.getString(R.string.app_name));
|
||||||
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
|
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, mDrawerLeft);
|
||||||
|
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED, mDrawerRight);
|
||||||
setDrawerIndicatorEnabled(false);
|
setDrawerIndicatorEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
if (mIsLoading) {
|
if (mIsLoading) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user