Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:fitsSystemWindows="true" >
- <android.support.design.widget.CoordinatorLayout android:layout_width="match_parent"
- android:layout_height="match_parent" android:fitsSystemWindows="true"
- tools:context=".NavigationActivity">
- <android.support.design.widget.AppBarLayout android:layout_height="wrap_content"
- android:layout_width="match_parent" android:theme="@style/AppTheme.AppBarOverlay">
- <android.support.v7.widget.Toolbar android:id="@+id/toolbar"
- android:layout_width="match_parent" android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary" app:popupTheme="@style/AppTheme.PopupOverlay" />
- </android.support.design.widget.AppBarLayout>
- <!--Content fragment -->
- <include layout="@layout/content_navigation" android:id="@+id/content"/>
- <android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
- android:layout_width="match_parent" android:layout_height="match_parent"
- android:fitsSystemWindows="true" tools:openDrawer="start"
- android:nestedScrollingEnabled="false"
- android:transitionGroup="false">
- <android.support.design.widget.NavigationView android:id="@+id/nav_view"
- android:layout_width="55dp" android:layout_height="match_parent"
- android:layout_gravity="start"
- android:layout_marginTop="25dp"
- app:menu="@menu/activity_navigation_drawer"
- android:background="#ffffff"/>
- <!--app:headerLayout="@layout/nav_header_navigation"-->
- </android.support.v4.widget.DrawerLayout>
- <android.support.design.widget.FloatingActionButton android:id="@+id/fab"
- android:layout_width="wrap_content" android:layout_height="wrap_content"
- android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin"
- android:src="@android:drawable/ic_dialog_email" />
- </android.support.design.widget.CoordinatorLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement