-1

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'.

1 Answers1

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