Create a hamburger menu with navigation drawer in Android

Coderkhan picture Coderkhan · May 11, 2015 · Viewed 29.1k times · Source

I want to create a hamburger menu in android with navigation drawer. I've already developed it but according to the requirements the menu should slide out the base fragment instead of overlapping. I want to develop something like the hamburger menu used by facebook.

  1. This is what I require :

  1. This is what I've accomplished:

Any help is appreciated, thanks.

Answer

Hugo Gresse picture Hugo Gresse · May 11, 2015

Google introduce Material Design with the new guidelines for Navigation Drawer : official source.

Some amazing people made library matching this guidelines : https://github.com/mikepenz/MaterialDrawer

If you want to do it yourself : https://github.com/codepath/android_guides/wiki/Fragment-Navigation-Drawer