<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawerLayout"
android:layout_height="match_parent"
- android:layout_width="match_parent" >
+ android:layout_width="match_parent">
<!-- The main content view. -->
<!-- android:fitsSystemWindows="true" moves rootCoordinatorLayout below the system status bar. -->
</android.support.design.widget.CoordinatorLayout>
<!-- The navigation drawer. -->
- <ListView
- android:id="@+id/navigationDrawer"
- android:layout_width="240dp"
+ <android.support.design.widget.NavigationView
+ android:id="@+id/navigationView"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
- android:choiceMode="singleChoice"
- android:background="@color/white"/>
+ app:headerLayout="@layout/navigation_header"
+ app:menu="@menu/menu_navigation"/>
</android.support.v4.widget.DrawerLayout>
\ No newline at end of file