Skip to content

Instantly share code, notes, and snippets.

@DarrienG
Last active June 25, 2016 17:54
Show Gist options
  • Save DarrienG/b80d5e80dd0fca58fc22c584cde623e6 to your computer and use it in GitHub Desktop.
Save DarrienG/b80d5e80dd0fca58fc22c584cde623e6 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
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_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/mainView"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.darrienglasser.grouper.MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
android:layout_height="wrap_content"
android:layout_width="match_parent"
layout="@layout/toolbar"/>
<FrameLayout
android:id="@+id/content_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<android.support.design.widget.NavigationView
android:id="@+id/navigation_view"
android:layout_width="304dp"
app:menu="@menu/drawer_layout"
android:layout_height="match_parent"
android:layout_gravity="start">
</android.support.design.widget.NavigationView>
</android.support.v4.widget.DrawerLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment