Guest User

Activity Main.xml

a guest
Nov 20th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 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:id="@+id/drawer_layout"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:fitsSystemWindows="true"
  9.    tools:openDrawer="start">
  10.  
  11.     <include
  12.        layout="@layout/app_bar_main"
  13.        android:layout_width="match_parent"
  14.        android:layout_height="match_parent" />
  15.  
  16.     <android.support.design.widget.NavigationView
  17.        android:id="@+id/nav_view"
  18.        android:layout_width="wrap_content"
  19.        android:layout_height="match_parent"
  20.        android:layout_gravity="start"
  21.        android:fitsSystemWindows="true"
  22.        app:headerLayout="@layout/nav_header_main"
  23.        app:menu="@menu/activity_main_drawer" />
  24.    
  25.  
  26. </android.support.v4.widget.DrawerLayout>
Add Comment
Please, Sign In to add comment