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

@ -63,7 +63,7 @@
android:gravity="bottom"
android:singleLine="true"
android:textAppearance="@style/Theme.MaterialMusic.Notification.Title"
android:textColor="@color/notification_default_content_color"
android:textColor="@color/default_notification_content_color"
tools:ignore="NestedWeights" />
<TextView
@ -76,7 +76,7 @@
android:fadingEdge="horizontal"
android:singleLine="true"
android:textAppearance="@style/Theme.MaterialMusic.Notification"
android:textColor="@color/notification_default_secondary_content_color" />
android:textColor="@color/default_notification_secondary_content_color" />
</LinearLayout>
<LinearLayout
@ -101,7 +101,7 @@
android:background="@drawable/notification_selector"
android:gravity="center"
android:src="@drawable/ic_skip_previous_white_36dp"
android:tint="@color/notification_default_content_color"
android:tint="@color/default_notification_content_color"
tools:ignore="ContentDescription" />
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
@ -115,7 +115,7 @@
android:background="@drawable/notification_selector"
android:gravity="center"
android:src="@drawable/ic_play_arrow_white_36dp"
android:tint="@color/notification_default_content_color"
android:tint="@color/default_notification_content_color"
tools:ignore="ContentDescription" />
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
@ -129,7 +129,7 @@
android:background="@drawable/notification_selector"
android:gravity="center"
android:src="@drawable/ic_skip_next_white_36dp"
android:tint="@color/notification_default_content_color"
android:tint="@color/default_notification_content_color"
tools:ignore="ContentDescription" />
</LinearLayout>
</LinearLayout>