I am using SlidingMenu together with a MapView and would like to disable swipe gesture used to open the menu whenever user has the map fragment as the content fragment. How can I do it?
Tap the Settings icon to launch the Settings app. Scroll down and tap on Accessibility. Scroll down to the Interaction Controls section and tap System navigation. Tap the button next to 3-button navigation to switch back to the classic 3-button system, or tap the button next to Gesture navigation to enable it.
on SlidingMenu object do getSlidingMenu().setSlidingEnabled(false);
when your fragment is visible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With