codepath/android-facebook-navigation-drawer

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Android Navigation Drawer

The new material design style navigation drawer

Overview

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:

  1. DrawerLayout - The main layout for your activity. This will contain a FrameLayout which displays the contents of the fragment selected
  2. NavigationView - It is a container for the Header View and Menu which you are going to use in your sliding drawer
  3. drawer_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 file
  4. ActionBarDrawerToggle - This is the class used to indicate to the user when a drawer is being opened or closed
Usage

This 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:

Imgur

Once you have imported base app, go ahead and run it, and you should see the following output :

Imgur

Now we will go ahead and implement the exercise. At the end of exercise, final output will be

Imgur


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.