Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable swipe? #1654

Closed
rgocal opened this issue Dec 7, 2016 · 2 comments
Closed

Disable swipe? #1654

rgocal opened this issue Dec 7, 2016 · 2 comments
Assignees
Labels

Comments

@rgocal
Copy link

rgocal commented Dec 7, 2016

Is there a way to disable swiping/pulling the drawer menu open and just use a button to open it?

@mdtuyen
Copy link

mdtuyen commented Dec 8, 2016

try

result.getDrawerLayout()..setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);

@mikepenz
Copy link
Owner

mikepenz commented Dec 8, 2016

@mdtuyen thanks for answering

@mikepenz mikepenz closed this as completed Dec 8, 2016
@mikepenz mikepenz self-assigned this Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants