How to make the SwitchPreferences look rectangular with yes and no texts. I am short on time and so cannot create a custom lay out. The one I am getting now is like this:- 'O-' '-O'.
Asked
Active
Viewed 80 times
-1
-
that´s like: "Give me the code, I am too lazy to do it by myself"..... – Opiatefuchs May 18 '17 at 13:02
1 Answers
1
Try this library: https://github.com/BelkaLab/Android-Toggle-Switch Or even this: https://androidtutorialmagic.wordpress.com/android-material-design-tutorial/custom-switch-like-ios-in-android-tutorial/ But I would go with the first one.

rosu alin
- 5,674
- 11
- 69
- 150
-
Thank you but unfortunately both talk about switches and i need something about switchpreferences. – Shreyas Kavathekar May 18 '17 at 13:15
-