Notification text color changes to match the background. Cleaned up notification related code.

This commit is contained in:
Karim Abou Zeid 2015-07-11 15:41:18 +02:00
commit 357ef1df69
15 changed files with 86 additions and 380 deletions

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<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>-->
<!--<color name="button_selected_dark">#FFFFFFFF</color>-->
</resources>

View file

@ -22,11 +22,6 @@
<item name="android:transitionName">@string/transition_fab</item>
</style>
<style name="NotificationButton" parent="NotificationButtonParent">
<item name="android:background">@drawable/notification_selector</item>
<item name="android:tint">@color/default_notification_content_color</item>
</style>
<style name="MusicProgressSlider" parent="MusicProgressSliderParent">
<item name="android:elevation">2dp</item>
<item name="android:padding">0dp</item>