Android Custom Switch
I'm trying to make a custom switch like this: with these properites: text on both sides always shown. different colors for on and off. and these are two problems I faced since the switch only shows the text on the chosen side , and I can't seem to find a place where I can specify two different colors? can I achieve this using the regular switch in android studio or must I use some library? Thank you. After researching I found a way that gives me exactly what I needed, this is what I got: in case of anyone looking for a way to do it, this is how: based on this post answer , which worked great