Name: android-facebook-navigation-drawer
Owner: CodePath
Description: The new material design style navigation drawer
Created: 2015-06-26 15:46:13.0
Updated: 2018-04-24 04:09:13.0
Pushed: 2015-07-05 18:40:25.0
Homepage: null
Size: 1224
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The new material design style navigation drawer
The navigation drawer is a panel that displays the app?s main navigation options on the left edge of the screen. The objective of this exercise is to build navigation drawer based on material design guidelines.
To achieve this, there are a few different components in this app:
DrawerLayout
- The main layout for your activity. This will contain a FrameLayout which displays the contents of the fragment selectedNavigationView
- It is a container for the Header View and Menu which you are going to use in your sliding drawerdrawer_view
- This will be the list of items you show in the Drawer. Items can be grouped into sub-groups also using this menu xml fileActionBarDrawerToggle
- This is the class used to indicate to the user when a drawer is being opened or closedThis app is intended to be the base project on top of which new features can be added. To use it, clone the project and import it using the following steps:
Once you have imported base app, go ahead and run it, and you should see the following output :
Now we will go ahead and implement the exercise. At the end of exercise, final output will be