The navigation drawer is a UI panel that shows your app's main navigation menuπ. The drawer appears when the user touches the drawer icon in the app bar or when the user swipes a finger from the left edge of the screen.
- Change the theme of the app to NoActionBar.
- Create a customised toolbar (an XML layout file)
- Create a new Android Resource Directory - menu
- Navigation Drawer has 2 components - Header and menu.
- Design an XML file for nav header.
- For nav menu create a menu.xml file in menu directory.
- The MainActivity should have Drawer Layout as the parent layout. Include toolbar in this activity.
- Use NavigationView to include navigation drawer.