Advertisement
markella92

Untitled

Dec 1st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <android.support.design.widget.CoordinatorLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/main_content"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. xmlns:app="http://schemas.android.com/apk/res-auto"
  9. xmlns:tools="http://schemas.android.com/tools"
  10. android:id="@+id/drawer_layout"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:fitsSystemWindows="true"
  14. tools:openDrawer="start">
  15.  
  16. <include
  17. layout="@layout/app_bar_main"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent" />
  20.  
  21. <android.support.design.widget.NavigationView
  22. android:id="@+id/nav_view"
  23. android:layout_width="wrap_content"
  24. android:layout_height="match_parent"
  25. android:layout_gravity="start"
  26. android:fitsSystemWindows="true"
  27. app:headerLayout="@layout/nav_header_main"
  28. app:menu="@menu/activity_main_drawer" />
  29.  
  30. </android.support.v4.widget.DrawerLayout>
  31. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement