From 57e327cc1136896be328c790c2e10b4680aedefe Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 10 Jun 2015 18:28:06 -0700 Subject: Put drawer behind system bar, color ActionBar --- app/src/main/res/layout/abstract_activity.xml | 4 +++- .../main/res/layout/abstract_fragment_activity.xml | 13 ++++++----- app/src/main/res/values-v21/themes.xml | 10 +++++++++ app/src/main/res/values/themes.xml | 26 +++++----------------- 4 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 app/src/main/res/values-v21/themes.xml (limited to 'app') diff --git a/app/src/main/res/layout/abstract_activity.xml b/app/src/main/res/layout/abstract_activity.xml index f012f484..56db1439 100644 --- a/app/src/main/res/layout/abstract_activity.xml +++ b/app/src/main/res/layout/abstract_activity.xml @@ -4,7 +4,9 @@ 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"> + + android:layout_width="match_parent" + android:background="?attr/colorPrimary" + android:elevation="4dp"/> @@ -30,13 +31,14 @@ + android:layout_height="wrap_content" + android:background="?attr/colorPrimary"> + android:orientation="horizontal" + android:elevation="4dp"> + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 27082530..ecba7592 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,8 +1,6 @@ - - + + @@ -115,20 +115,6 @@ false true - - - - -- cgit v1.2.3