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:
parent
27e56754e3
commit
d2fda4a839
33 changed files with 391 additions and 33 deletions
|
|
@ -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>-->
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue