www.androidchunk.com

Hi Developer, Please visit www.androidchunk.com for Latest Updates. Thank you!

Android Navigation Drawer [Sliding Menu] Example using Fragments

Category: Android Codez | Last Updates: 17/04/2017

Hello friends, In this section, We will learn about Android's navigation drawer, Navigation drawer or Sliding Menu is like a panel that is useful for giving options to the users. We used the fragments for handling the clicks on the navigation menu in this example.
  
src/MainActivity.java
src/HomeFragment.java

src/GalleryFragment.java

src/MoviesFragment.java
src/ToolsFragment.java

Android Resources Layout
res/layout/activity_main.xml
res/layout/app_bar_main.xml
res/layout/nav_header_main.xml

res/layout/content_main.xml

res/layout/fragment_home.xml

res/layout/fragment_gallery.xml

res/layout/fragment_movies.xml

res/layout/fragment_tools.xml

Android Resources Menu
res/menu/activity_main_drawer.xml

res/menu/main.xml
Android Resources Values
res/values/strings.xml

Output:

No comments :

Post a Comment