diff options
author | Andrew Dolgov <[email protected]> | 2014-10-15 13:43:45 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-15 13:43:45 +0400 |
commit | e64c17765130b340f0d4cdd536b2b5d80016a057 (patch) | |
tree | dce99e52687ad88bc6043f5f19628ddec4325759 /res | |
parent | 4eef7998285ebd2e1c9baace3c027023e2907cba (diff) |
set actionbar styles for app themes
Diffstat (limited to 'res')
-rw-r--r-- | res/values/style.xml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/res/values/style.xml b/res/values/style.xml index 0d2a1153..e07c59c9 100644 --- a/res/values/style.xml +++ b/res/values/style.xml @@ -27,6 +27,7 @@ <item name="unreadSelectedCounterBackground">@drawable/counter_background_selected_light</item> <item name="articleNoteTextColor">#9a8c59</item> <item name="articleNoteBackground">#fff7d5</item> + <item name="android:actionBarStyle">@style/ActionBar.Light</item> </style> <style name="SepiaTheme" parent="LightTheme"> @@ -43,7 +44,7 @@ <item name="unreadSelectedCounterBackground">@drawable/counter_background_sepia</item> <item name="feedlistTextColor">#35281C</item> <item name="linkColor">#C46262</item> - <!-- <item name="android:actionBarStyle">@style/ActionBarSepia</item> --> + <item name="android:actionBarStyle">@style/ActionBar.Sepia</item> </style> <style name="DarkTheme" parent="Theme.AppCompat"> @@ -89,12 +90,27 @@ <item name="feedlistSelectedTextColor">@android:color/primary_text_dark</item> <item name="headlineSelectedExcerptTextColor">@android:color/secondary_text_dark</item> <item name="headlineTextColor">@android:color/secondary_text_dark</item> - <item name="actionBarStyle">@style/ActionBarDarkGray</item> - <item name="android:actionBarStyle">@style/ActionBarDarkGray</item> + <!-- <item name="actionBarStyle">@style/ActionBarDarkGray</item> --> + <item name="android:actionBarStyle">@style/ActionBar.DarkGray</item> <item name="headlineSelectedSecondaryTextColor">#a0a0a0</item> </style> + + <style name="ActionBar.Light" parent="Widget.AppCompat.ActionBar.Solid"> + <item name="android:background">#4684ff</item> + <item name="android:titleTextStyle">@style/ActionBarText.Light</item> + </style> + + <style name="ActionBar.Sepia" parent="Widget.AppCompat.ActionBar.Solid"> + <item name="android:background">#C46262</item> + <item name="android:titleTextStyle">@style/ActionBarText.Light</item> + </style> - <style name="ActionBarDarkGray" parent="Widget.AppCompat.ActionBar.Solid"> + <style name="ActionBarText.Light" + parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"> + <item name="android:textColor">@android:color/white</item> + </style> + + <style name="ActionBar.DarkGray" parent="Widget.AppCompat.ActionBar.Solid"> <item name="android:background">#232527</item> </style> |