In Android, is it possible to have a Switch
that can have different images set for the thumb's checked and unchecked states?
For example, when a Switch
is in the unchecked state, I'd like the thumb to use image_1.png
and when the Switch
is in the checked state, I'd like the thumb to use image_2.png
.
I used the following guide to set a Switch
's thumb to an image, but the image applies to both the checked and unchecked states, I'd like to have a separate image for both states.
Thanks!