FAQ / WIKI
March 1, 2020 ยท View on GitHub
This is the official MaterialDrawer FAQ/Wiki. People can contribute to it through pull requests. Each question and it's answer is hosted in a separate file within the FAQ folder.
MaterialDrawer
- Should I use this library or Material Drawer from the Support library?
- How do I make the drawer appear underneath the Toolbar?
- How do I create a Multi-pane layout with MaterialDrawer for tablets?
- Why is there whitespace where the status bar should be while my theme is set as fullscreen ?
- How do I change existing or add my own CustomDrawerItems to the MaterialDrawer?
- How to use different dependency library versions
AccountHeader
Testing
CustomDrawerItem's
Asked super frequently
How can i create a drawer without a default selection
//just set the selection to -1
slider.setSelectionAtPosition(-1)
Can I lock the Drawer
As the MaterialDrawer will just create a normal DrawerLayout (with some magic around it) everything a normal DrawerLayout can do is also available in the MaterialDrawer.
drawerLayout.setDrawerLockMode(int lockMode); //or (int lockMode, int edgeGravity)