How to implement the navigation drawer in android with sub item menu [duplicate]
问题 This question already has answers here : How to open sub menu after click on menu-item in Navigation drawer? (3 answers) Closed 4 years ago . I am new in android and in my project I want to add the navigation drawer. I am selecting Navigation Drawer activity and create project in eclipse please help me how to develop navigation drawer below Here is the image of navigation drawer for item and sub item menu 回答1: Use NavigationView <android.support.design.widget.NavigationView android:id="@+id