mikepenz / MaterialDrawer

The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
https://mikepenz.dev
Apache License 2.0
11.67k stars 2.05k forks source link

How to remove the drawer by pressing the navigation button "back"? #2740

Closed olivoreo closed 3 years ago

olivoreo commented 3 years ago

Hello! I ran into such a problem that I need to hide my sliding drawer with the back navigation button, but I do not know how to do this. Please help me! Thank you in advance!

mikepenz commented 3 years ago

Please see this section in the README: https://github.com/mikepenz/MaterialDrawer#modify-items-or-the-drawer