Advertisement
Guest User

Untitled

a guest
May 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v4.widget.DrawerLayout
  3.    android:id="@+id/drawer_layout"
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    android:fitsSystemWindows="true"
  10.    tools:context=".MainActivity"
  11.    tools:openDrawer="start">
  12.  
  13.     <include
  14.        layout="@layout/content_main"
  15.        android:layout_width="match_parent"
  16.        android:layout_height="match_parent"/>
  17.  
  18.  
  19.     <android.support.design.widget.NavigationView
  20.        android:id="@+id/navigation_view"
  21.        android:layout_width="wrap_content"
  22.        android:layout_height="match_parent"
  23.        android:layout_gravity="start"
  24.        android:fitsSystemWindows="true"
  25.        app:headerLayout="@layout/nav_header_main"
  26.        app:menu="@menu/activity_main_drawer"/>
  27.  
  28. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement