Android Question Dissable DSNavigationDrawer (both sides)

scsjc

Well-Known Member
Licensed User
Can the menu DSNavigationDrawer be temporarily disabled? ... so it can't be opened by sliding
and re-enabled from code?
 

corwin42

Expert
Licensed User
Use the following:

B4X:
NavDrawer.SetLockMode(NavDrawer.GRAVITY_START, NavDrawer.LOCK_MODE_LOCKED_CLOSED)

This should disable the gesture.
 
Upvote 0
Top