fix(monitor): Restore tint on product icons to prevent invisibility on light backgrounds

Without tint, white PNG product icons (AirPods photos) are invisible on
light notification backgrounds. Restore src_in tint with notification_icon_tint
(a reliable day/night color resource) in both the PodInfoItemIcon.Notification
style (covers small layouts) and the big layout product ImageViews that do
not use that style.
This commit is contained in:
darken
2026-06-14 17:52:45 +02:00
committed by Matthias Urhahn
parent 1e555cc712
commit e406fd4cc1
3 changed files with 10 additions and 0 deletions
@@ -24,6 +24,8 @@
android:id="@+id/pod_left_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:tint="@color/notification_icon_tint"
android:tintMode="src_in"
android:src="@drawable/device_airpods_gen1_left" />
<ProgressBar
@@ -86,6 +88,8 @@
android:id="@+id/pod_case_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:tint="@color/notification_icon_tint"
android:tintMode="src_in"
android:src="@drawable/device_airpods_gen1_case" />
<ProgressBar
@@ -138,6 +142,8 @@
android:id="@+id/pod_right_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:tint="@color/notification_icon_tint"
android:tintMode="src_in"
android:src="@drawable/device_airpods_gen1_right" />
<ProgressBar
@@ -24,6 +24,8 @@
android:id="@+id/headphones_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:tint="@color/notification_icon_tint"
android:tintMode="src_in"
android:src="@drawable/twotone_headphones_24" />
<TextView
+2
View File
@@ -18,6 +18,8 @@
<style name="PodInfoItemIcon.Notification" parent="TextAppearance.Compat.Notification.Title">
<item name="android:layout_height">20dp</item>
<item name="android:layout_width">20dp</item>
<item name="android:tintMode">src_in</item>
<item name="android:tint">@color/notification_icon_tint</item>
</style>
<style name="PodInfoItemIcon.Notification.Large" parent="PodInfoItemIcon.Notification">