Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <resources>
- <!-- Base application theme. -->
- <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
- <!-- Customize your theme here. -->
- </style>
- </resources>
- <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
- <item name="colorPrimary">#995544</item>
- </style>
- <item name="colorPrimary">@color/yourColor</item>
- <style name="AppCompatTheme" parent="Theme.AppCompat.Light.DarkActionBar">
- <item name="android:background">#ff540e9e</item>
- <item name="android:textColor">#ffffff</item>
- </style>
- //First you need to declare the custom theme in your styles file
- </style>
- <style name="MyCustomTheme" parent="@android:style/Theme.AppCompat.Light.DarkActionBar">
- <item name="android:actionBarStyle">@style/MyActionBarTheme</item>
- </style>
- //Then you provide details on it layout/color etc
- <style name="MyActionBarTheme" parent="@android:style/Widget.AppCompat.Light.DarkActionBar">
- <item name="android:background">#33FF33</item>
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement