From a3e6a41d34715b45d50c5a47d9f431140857d30d Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 9 Sep 2015 08:38:24 -0700 Subject: Make colored action bar/status bar optional --- app/src/main/res/layout/abstract_fragment_activity.xml | 8 ++++---- app/src/main/res/layout/drawer_header.xml | 4 ++-- app/src/main/res/layout/settings_activity.xml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/abstract_fragment_activity.xml b/app/src/main/res/layout/abstract_fragment_activity.xml index 04e6ec81..d41b0115 100644 --- a/app/src/main/res/layout/abstract_fragment_activity.xml +++ b/app/src/main/res/layout/abstract_fragment_activity.xml @@ -18,9 +18,9 @@ android:id="@+id/main_toolbar" android:layout_height="?attr/actionBarSize" android:layout_width="match_parent" - android:background="?attr/colorPrimary" + android:background="?attr/actionbarBackgroundColor" android:elevation="4dp" - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" + android:theme="?attr/actionbarThemeStyle" app:popupTheme="?attr/actionbarPopupStyle"/> @@ -36,7 +36,7 @@ android:id="@+id/slide_up_swipe_target" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorPrimary"> + android:background="?attr/actionbarBackgroundColor"> + style="?attr/drawerTitleStyle"/> + style="?attr/drawerSubtitleStyle"/> + app:theme="?attr/actionbarThemeStyle" + app:popupTheme="?attr/actionbarPopupStyle"/>