As others have mentioned, this is an ExpandableListView, within a NavigationDrawer. There are several tutorials you can use (see my list below).
One piece of advice based on personal experience: the baseline behavior for the SimpleExpandableListAdapter is pretty limiting and often not what you're looking for in your customization. If you're looking to have your own specific behavior and look-and-feel to the sub menus, I highly recommend looking into extending the BaseExpandableListAdapter yourself and creating your own custom adapter. [This may seem daunting at first, but it's not terribly hard once you have a grasp on your parents and children within your menu and sub menu(s).]
I think you're looking for ExpandableListView.
As others have mentioned, this is an
ExpandableListView
, within aNavigationDrawer
. There are several tutorials you can use (see my list below).One piece of advice based on personal experience: the baseline behavior for the
SimpleExpandableListAdapter
is pretty limiting and often not what you're looking for in your customization. If you're looking to have your own specific behavior and look-and-feel to the sub menus, I highly recommend looking into extending theBaseExpandableListAdapter
yourself and creating your own custom adapter. [This may seem daunting at first, but it's not terribly hard once you have a grasp on your parents and children within your menu and sub menu(s).]ExpandableListAdapter
(for better understanding if creating your own): http://blog.denevell.org/android-SimpleExpandableListAdapter-example.htmlExpandableListAdapter
: http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/Here is a sample code for this https://github.com/D8thReaper/android-navigation-menu-expandable. The sample is in material design and is pretty simple to use.
In the drawer layout, use a simple ExpandableListView and customize it.
Make a custom adapter by extending with BaseExpandableListAdapter
And attach the drawerList (ExpandableListView object) to ActionBarToggle
That menu called
Navigation drawer
... Check this link it will guide you. The below link also will guide you...NavigationDrawer