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

@ -41,7 +41,7 @@
android:layout_marginTop="2dp"
android:background="@drawable/notification_selector"
android:src="@drawable/ic_close_white_24dp"
android:tint="@color/notification_default_content_color"
android:tint="@color/default_notification_content_color"
tools:ignore="ContentDescription" />
<LinearLayout
@ -66,7 +66,7 @@
android:fadingEdge="horizontal"
android:singleLine="true"
android:textAppearance="@style/Theme.MaterialMusic.Notification.Title"
android:textColor="@color/notification_default_content_color" />
android:textColor="@color/default_notification_content_color" />
<TextView
android:id="@+id/text"
@ -79,7 +79,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" />
<TextView
android:id="@+id/text2"
@ -91,7 +91,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
@ -118,7 +118,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"
@ -132,7 +132,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"
@ -146,7 +146,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>
</RelativeLayout>