diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-06-10 18:28:06 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-06-10 18:28:06 -0700 |
commit | 57e327cc1136896be328c790c2e10b4680aedefe (patch) | |
tree | f6fb16be16c9d9031385d802f8b3bb2e0cbc9abd /app/src/main/res/layout | |
parent | 9d4876f4874d034177c4f012932ca936d85e40ac (diff) | |
download | dsub-57e327cc1136896be328c790c2e10b4680aedefe.tar.gz dsub-57e327cc1136896be328c790c2e10b4680aedefe.tar.bz2 dsub-57e327cc1136896be328c790c2e10b4680aedefe.zip |
Put drawer behind system bar, color ActionBar
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/abstract_activity.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/abstract_fragment_activity.xml | 13 |
2 files changed, 11 insertions, 6 deletions
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"> + <!-- The main content view --> <FrameLayout android:id="@+id/content_frame" diff --git a/app/src/main/res/layout/abstract_fragment_activity.xml b/app/src/main/res/layout/abstract_fragment_activity.xml index 29fbc3b1..74a94111 100644 --- a/app/src/main/res/layout/abstract_fragment_activity.xml +++ b/app/src/main/res/layout/abstract_fragment_activity.xml @@ -15,9 +15,10 @@ <android.support.v7.widget.Toolbar android:id="@+id/main_toolbar" - style="?attr/actionBarStyle" android:layout_height="?attr/actionBarSize" - android:layout_width="match_parent"/> + android:layout_width="match_parent" + android:background="?attr/colorPrimary" + android:elevation="4dp"/> <include layout="@layout/abstract_fragment_container"/> </FrameLayout> @@ -30,13 +31,14 @@ <FrameLayout android:id="@+id/slide_up_swipe_target" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:background="?attr/colorPrimary"> <android.support.v7.widget.Toolbar android:id="@+id/now_playing_toolbar" - style="?attr/actionBarStyle" android:layout_height="?attr/actionBarSize" android:layout_width="match_parent" + android:elevation="4dp" android:visibility="gone"/> <LinearLayout @@ -44,7 +46,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/BasicButton" - android:orientation="horizontal"> + android:orientation="horizontal" + android:elevation="4dp"> <github.daneren2005.dsub.view.RecyclingImageView android:id="@+id/album_art" |