diff --git a/core/res/res/drawable/watch_switch_track_material.xml b/core/res/res/color/watch_switch_track_color_material.xml similarity index 72% rename from core/res/res/drawable/watch_switch_track_material.xml rename to core/res/res/color/watch_switch_track_color_material.xml index 79e92a3310710..c7dc5d34204a0 100644 --- a/core/res/res/drawable/watch_switch_track_material.xml +++ b/core/res/res/color/watch_switch_track_color_material.xml @@ -1,9 +1,12 @@ - - - - - - - + + + \ No newline at end of file diff --git a/core/res/res/drawable-hdpi/watch_switch_track_mtrl_alpha.png b/core/res/res/drawable-hdpi/watch_switch_track_mtrl.png similarity index 100% rename from core/res/res/drawable-hdpi/watch_switch_track_mtrl_alpha.png rename to core/res/res/drawable-hdpi/watch_switch_track_mtrl.png diff --git a/core/res/res/drawable-xhdpi/watch_switch_track_mtrl_alpha.png b/core/res/res/drawable-xhdpi/watch_switch_track_mtrl.png similarity index 100% rename from core/res/res/drawable-xhdpi/watch_switch_track_mtrl_alpha.png rename to core/res/res/drawable-xhdpi/watch_switch_track_mtrl.png diff --git a/core/res/res/drawable-xxhdpi/watch_switch_track_mtrl_alpha.png b/core/res/res/drawable-xxhdpi/watch_switch_track_mtrl.png similarity index 100% rename from core/res/res/drawable-xxhdpi/watch_switch_track_mtrl_alpha.png rename to core/res/res/drawable-xxhdpi/watch_switch_track_mtrl.png diff --git a/core/res/res/layout-watch/preference_widget_switch.xml b/core/res/res/layout-watch/preference_widget_switch.xml index 5881cf0c4d1ea..a1a845abfe3ab 100644 --- a/core/res/res/layout-watch/preference_widget_switch.xml +++ b/core/res/res/layout-watch/preference_widget_switch.xml @@ -24,7 +24,8 @@ android:thumb="@drawable/watch_switch_thumb_material_anim" android:thumbTint="@color/watch_switch_thumb_color_material" android:thumbTintMode="multiply" - android:track="@drawable/watch_switch_track_material" + android:track="@drawable/watch_switch_track_mtrl" + android:trackTint="@color/watch_switch_track_color_material" android:focusable="false" android:clickable="false" android:background="@null" /> diff --git a/core/res/res/values-watch/colors_material.xml b/core/res/res/values-watch/colors_material.xml index 18bfd4db5ae04..92f77622a2a28 100644 --- a/core/res/res/values-watch/colors_material.xml +++ b/core/res/res/values-watch/colors_material.xml @@ -22,7 +22,7 @@ #ff5e97f6 #ffd0def7 - #4D4D4D + #33ffffff #ff919699