narimetisaigopi

activity_main.xml navigation drawer

Feb 8th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. android:id="@+id/drawerLayout"
  9. tools:context=".MainActivity">
  10.  
  11. <FrameLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:id="@+id/frameLayout"/>
  15.  
  16. <android.support.design.widget.NavigationView
  17. android:layout_width="wrap_content"
  18. android:id="@+id/navigationView"
  19. app:headerLayout="@layout/header_layout"
  20. android:layout_height="match_parent"
  21. app:menu="@menu/side_nav_menu"
  22. android:layout_gravity="start"/>
  23.  
  24. </android.support.v4.widget.DrawerLayout>
Add Comment
Please, Sign In to add comment