I\'ve been following the navigation drawer guide by Google and I\'d like to add it to an Activity with tabs and gestures.
I\'d like to disable the gesture to open th
for locking you can do this:
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
and for unlock :
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED);