Image: https://lh3.googleusercontent.com/MIOoHQ2WRn-UF_v__izFJWm9BsqxGqhbJ85EdbJ29MVHOKp-6w4NWdKTIxHVoJxozOVJ=h900-rw I need a toggle switch just like this in my android app. What other ways can I go for except using 2 buttons or this repo.
Asked
Active
Viewed 49 times
2
-
hi. easy to implement it. You can use a image than set toggle state by two bacground image (one for normal state one for changed state like off and on ) – GiapLee Apr 01 '16 at 04:37
-
Just change the color of button on onclick!! – Chaudhary Amar Apr 01 '16 at 04:57
-
1Possible duplicate of [Android toggle button custom look](http://stackoverflow.com/questions/18335239/android-toggle-button-custom-look) – Brahmam Yamani Apr 01 '16 at 05:10