I\'ve tried using the following link to change the color of a SwitchCompat:
How to change the color of a SwitchCompat
Notice the low constrast in my switch:<
Here is how a developer can change the track drawable of a SwitchCompat: First, in the root layout, write xmlns:SwitchCompat="http://schemas.android.com/apk/res-auto" Then:
xmlns:SwitchCompat="http://schemas.android.com/apk/res-auto"
where your_switch_track_selector can be:
1.switch_ios_track_on: 2.switch_ios_track_off:
Simple and easy..