Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.40 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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_height="match_parent"
  6.    android:layout_width="match_parent"
  7.    android:fitsSystemWindows="true" >
  8.  
  9.     <android.support.design.widget.CoordinatorLayout android:layout_width="match_parent"
  10.        android:layout_height="match_parent" android:fitsSystemWindows="true"
  11.        tools:context=".NavigationActivity">
  12.  
  13.         <android.support.design.widget.AppBarLayout android:layout_height="wrap_content"
  14.            android:layout_width="match_parent" android:theme="@style/AppTheme.AppBarOverlay">
  15.  
  16.             <android.support.v7.widget.Toolbar android:id="@+id/toolbar"
  17.                android:layout_width="match_parent" android:layout_height="?attr/actionBarSize"
  18.                android:background="?attr/colorPrimary" app:popupTheme="@style/AppTheme.PopupOverlay" />
  19.  
  20.         </android.support.design.widget.AppBarLayout>
  21.  
  22.         <!--Content fragment -->
  23.         <include layout="@layout/content_navigation" android:id="@+id/content"/>
  24.  
  25.         <android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
  26.            android:layout_width="match_parent" android:layout_height="match_parent"
  27.            android:fitsSystemWindows="true" tools:openDrawer="start"
  28.            android:nestedScrollingEnabled="false"
  29.            android:transitionGroup="false">
  30.  
  31.             <android.support.design.widget.NavigationView android:id="@+id/nav_view"
  32.                android:layout_width="55dp" android:layout_height="match_parent"
  33.                android:layout_gravity="start"
  34.                android:layout_marginTop="25dp"
  35.                app:menu="@menu/activity_navigation_drawer"
  36.                android:background="#ffffff"/>
  37.                 <!--app:headerLayout="@layout/nav_header_navigation"-->
  38.  
  39.         </android.support.v4.widget.DrawerLayout>
  40.  
  41.         <android.support.design.widget.FloatingActionButton android:id="@+id/fab"
  42.            android:layout_width="wrap_content" android:layout_height="wrap_content"
  43.            android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin"
  44.            android:src="@android:drawable/ic_dialog_email" />
  45.  
  46.  
  47.     </android.support.design.widget.CoordinatorLayout>
  48.  
  49.  
  50. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement