|
2 | 2 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
3 | 3 | <style name="Theme.Default" parent="@android:style/Theme"> |
4 | 4 | <item name="android:background">#ffffffff</item> |
| 5 | + |
| 6 | + <!-- Support library compatibility --> |
| 7 | + <item name="actionBarStyle">@style/MyActionBar</item> |
| 8 | + <item name="actionBarTabTextStyle">@style/MyActionBarTabText</item> |
| 9 | + <item name="actionMenuTextColor">@color/white</item> |
| 10 | + |
| 11 | + <item name="colorPrimary">@color/green_light</item> |
| 12 | + <item name="colorPrimaryDark">@color/green_dark</item> |
| 13 | + <item name="colorAccent">@color/white</item> |
5 | 14 | </style> |
| 15 | + |
6 | 16 | <style name="Theme.NoTitle" parent="@android:style/Theme.NoTitleBar"> |
7 | 17 | <item name="android:background">#ffffffff</item> |
8 | 18 | </style> |
| 19 | + |
9 | 20 | <style name="Theme.FullScreen" parent="@android:style/Theme.NoTitleBar.Fullscreen"> |
10 | 21 | <item name="android:background">#ffffffff</item> |
11 | 22 | </style> |
| 23 | + |
| 24 | + <!-- ActionBar styles --> |
| 25 | + <style name="MyActionBar" parent="@style/Widget.AppCompat.ActionBar"> |
| 26 | + <!-- Support library compatibility --> |
| 27 | + <item name="titleTextStyle">@style/MyActionBarTitleText</item> |
| 28 | + <item name="background">@color/green_light</item> |
| 29 | + <item name="backgroundStacked">@color/green_light</item> |
| 30 | + </style> |
| 31 | + |
| 32 | + <!-- ActionBar title text --> |
| 33 | + <style name="MyActionBarTitleText" parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"> |
| 34 | + <item name="android:textColor">@color/white</item> |
| 35 | + <!-- The textColor property is backward compatible with the Support Library --> |
| 36 | + </style> |
| 37 | + |
| 38 | + <!-- ActionBar tabs text --> |
| 39 | + <style name="MyActionBarTabText" parent="@style/Widget.AppCompat.ActionBar.TabText"> |
| 40 | + <item name="android:textColor">@color/white</item> |
| 41 | + <!-- The textColor property is backward compatible with the Support Library --> |
| 42 | + </style> |
12 | 43 | </resources> |
0 commit comments