diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-08-21 17:03:43 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-08-21 17:03:43 -0700 |
commit | c777c62aea3a7b251e8f6c907a60ebf35ddbb8c8 (patch) | |
tree | 15df7a7ea0fdd94e89ba0113d8e1b186eef4d93d /app/src/main/res/layout/abstract_activity.xml | |
parent | 9f597b5135b85b99755cd791e32796b89fbf81dd (diff) | |
parent | 5a175f3b94cb8b5bd078e373f4a25b7ab65c4cc8 (diff) | |
download | dsub-c777c62aea3a7b251e8f6c907a60ebf35ddbb8c8.tar.gz dsub-c777c62aea3a7b251e8f6c907a60ebf35ddbb8c8.tar.bz2 dsub-c777c62aea3a7b251e8f6c907a60ebf35ddbb8c8.zip |
Merge branch '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> |