- How do I add a navigation drawer to existing activity?
- Which view is used to add the navigation drawer to an app?
How do I add a navigation drawer to existing activity?
To add a navigation drawer, first declare a DrawerLayout as the root view. Inside the DrawerLayout , add a layout for the main UI content and another view that contains the contents of the navigation drawer.
Which view is used to add the navigation drawer to an app?
The user can view the navigation drawer when they swipe a finger from the left edge of the activity. They can also find it from the home activity (the top level of the app) by tapping the app icon (also known as the Android "hamburger" menu) in the action bar.