diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-06-18 17:26:49 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-06-18 17:26:49 -0700 |
commit | 44faeb4cc59d69df0c633d04c76d3a94c4fac2aa (patch) | |
tree | 10ab1ccbd9e9e54539fe4095e3bcc481ee13cb56 /app/src/main/res/layout/abstract_activity.xml | |
parent | 9f8e9b89bb2d564bcaf00309b38ed9c4d970aeb9 (diff) | |
parent | f632dc5f46943c6a258d5f1cd85c6c6d923c4a3a (diff) | |
download | dsub-44faeb4cc59d69df0c633d04c76d3a94c4fac2aa.tar.gz dsub-44faeb4cc59d69df0c633d04c76d3a94c4fac2aa.tar.bz2 dsub-44faeb4cc59d69df0c633d04c76d3a94c4fac2aa.zip |
Merge branch 'NavigationView' into SlideUpPanel2
Diffstat (limited to 'app/src/main/res/layout/abstract_activity.xml')
-rw-r--r-- | app/src/main/res/layout/abstract_activity.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/src/main/res/layout/abstract_activity.xml b/app/src/main/res/layout/abstract_activity.xml index be65e437..56db1439 100644 --- a/app/src/main/res/layout/abstract_activity.xml +++ b/app/src/main/res/layout/abstract_activity.xml @@ -1,21 +1,22 @@ <?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" android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:fitsSystemWindows="true"> + <!-- The main content view --> <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent"/> + <!-- The navigation drawer --> - <ListView android:id="@+id/left_drawer" - android:layout_width="240dp" - android:layout_height="match_parent" - android:layout_gravity="start" - android:choiceMode="singleChoice" - android:divider="@android:color/transparent" - android:dividerHeight="0dp" - android:background="?android:windowBackground"/> + <android.support.design.widget.NavigationView + android:id="@+id/left_drawer" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_gravity="start"/> </android.support.v4.widget.DrawerLayout> |