Disabling all menus

If you have a single page and you don't need a menu, follow these steps:


1. Open MainActivity.java


2. Delete lines from the screenshot below:

ziGdR0ePsUdFRhqjGnu4uyonQlUUGk80BdBxUkEr.png


3. Add this line drawer.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);

Your code should now look like this

oeBmhTcr9aKCOe1JPfx04GfVi3GUKpSgBXophdjf.png