Fixed the notification coloring. Automatically refreshs notification when the color setting is changed. Colored notification for all Android versions now

This commit is contained in:
Karim Abou Zeid 2015-06-17 11:12:46 +02:00
commit d2fda4a839
33 changed files with 391 additions and 33 deletions

View file

@ -1,7 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="notification_default_content_color">#de000000</color>
<color name="notification_default_secondary_content_color">#aa000000</color>
<color name="default_notification_content_color">#de000000</color>
<color name="default_notification_secondary_content_color">#aa000000</color>
<color name="default_colored_notification_color">@color/grey_800</color>
<color name="default_colored_notification_content_color">#deFFFFFF</color>
<color name="default_colored_notification_secondary_content_color">#aaFFFFFF</color>
<!--must be solid colors so the ripple will not be semi transparent. Note: the color have no effect on the ripple-->
<!--<color name="button_selected">#FFFFFFFF</color>-->

View file

@ -24,7 +24,7 @@
<style name="NotificationButton" parent="NotificationButtonParent">
<item name="android:background">@drawable/notification_selector</item>
<item name="android:tint">@color/notification_default_content_color</item>
<item name="android:tint">@color/default_notification_content_color</item>
</style>
<style name="MusicProgressSlider" parent="MusicProgressSliderParent">