Skip to content

Instantly share code, notes, and snippets.

@ValCanBuild
Created September 10, 2015 09:35
Show Gist options
  • Select an option

  • Save ValCanBuild/9fdd39dcc2aabb6174b8 to your computer and use it in GitHub Desktop.

Select an option

Save ValCanBuild/9fdd39dcc2aabb6174b8 to your computer and use it in GitHub Desktop.

Revisions

  1. Valentin Hinov revised this gist Sep 10, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion drawer_layout_preview.xml
    Original file line number Diff line number Diff line change
    @@ -22,5 +22,5 @@
    app:menu="@menu/global_drawer_menu"
    tools:layout_marginTop="56dp"
    tools:layout_marginRight="56dp"
    tools:layout_gravity=""/>
    tools:layout_gravity="" />
    </android.support.v4.widget.DrawerLayout>
  2. Valentin Hinov renamed this gist Sep 10, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Valentin Hinov created this gist Sep 10, 2015.
    26 changes: 26 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    <?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:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

    <FrameLayout
    android:id="@+id/base_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

    <android.support.design.widget.NavigationView
    android:id="@+id/navigation_view"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_gravity="start"
    app:headerLayout="@layout/view_drawer_header"
    app:menu="@menu/global_drawer_menu"
    tools:layout_marginTop="56dp"
    tools:layout_marginRight="56dp"
    tools:layout_gravity=""/>
    </android.support.v4.widget.DrawerLayout>