This example demonstrates how to make NavigationDrawer on top of Actionbar. Remember to add appcompat_v7 project to its libraries before compiling..
DrawerOnTopActionBar is hosted in the following web site
https://github.com/lemycanh/DrawerOnTopActionBar
If you think the Android project DrawerOnTopActionBar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of DrawerOnTopActionBar.
Item | Value |
---|---|
Java File Count | 3 |
Supported screen sizes | [xhdpi] |
Target SDK Version | 21 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Fragment Count | 2 |
jar files used | android-support-v4.jar |
There are 1 image files in DrawerOnTopActionBar. The names of the image files are listed as follows.
ic_drawer.png
The following screenshort is generated from the image listed above.
DrawerOnTopActionBar has the following Java source files.
com.example.drawerontopactionbar.FragmentFirst.java com.example.drawerontopactionbar.FragmentSecond.java com.example.drawerontopactionbar.MainActivity.java