Skip to content
Snippets Groups Projects
Commit fe897efa authored by akwizgran's avatar akwizgran
Browse files

Use custom title bar colour on older Android versions.

parent c5d0f30c
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
</style> </style>
<style name="CustomActionBar" <style name="CustomActionBar"
parent="android:Widget.Holo.Light.ActionBar.Solid.Inverse"> parent="android:Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:textColor">@color/action_bar_text</item>
<item name="android:background">@color/action_bar_background</item> <item name="android:background">@color/action_bar_background</item>
</style> </style>
</resources> </resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="window_background">#EEEEEE</color> <color name="window_background">#EEEEEE</color>
<color name="action_bar_text">#FFFFFF</color>
<color name="action_bar_background">#2D3E50</color> <color name="action_bar_background">#2D3E50</color>
<color name="button_bar_background">#FFFFFF</color> <color name="button_bar_background">#FFFFFF</color>
<color name="private_message_background">#FFFFFF</color> <color name="private_message_background">#FFFFFF</color>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="LightTheme" parent="android:Theme.Light" /> <style name="LightTheme" parent="android:Theme.Light">
<item name="android:windowTitleStyle">@style/WindowTitle</item>
<item name="android:windowTitleBackgroundStyle">@style/WindowTitleBackground</item>
</style>
<style name="WindowTitle">
<item name="android:paddingLeft">5dp</item>
<item name="android:textColor">@color/action_bar_text</item>
</style>
<style name="WindowTitleBackground">
<item name="android:background">@color/action_bar_background</item>
</style>
</resources> </resources>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment