How to create drawer navigation like this?
问题 Hi guys, I wanna create the drawer navigation. I have read some docs, but it didnt work, so I will show u the picture that I want my drawer layout to look like this. Hope you can spend some to help me :) 回答1: You must make an ExpandableListView in your NavigationDrawer ExpandableListView : here NavigationDrawer : here Example : <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent"