Materialdrawer: Disable swipe?

Created on 8 Dec 2016  路  2Comments  路  Source: mikepenz/MaterialDrawer

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

question

Most helpful comment

try

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

All 2 comments

try

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

@mdtuyen thanks for answering

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jd-alexander picture jd-alexander  路  4Comments

GutoMartins019 picture GutoMartins019  路  4Comments

jehad-suliman picture jehad-suliman  路  3Comments

pranjal-joshi picture pranjal-joshi  路  3Comments

kakai248 picture kakai248  路  4Comments