0

I need 4 states switch (with possibility to extend to more states). Standard Android Switch has only 2 (on/off). I wanted to use seekbar but it works terribly bad if I use ViewPager (two elements for sweeping - seekbar and viewpager).

Any idea how to create a nice many states switch then (only one state from all can be selected at the same time - exclusive states)?

user2707175
  • 1,133
  • 2
  • 17
  • 44

1 Answers1

1

A Spinner is a good UI element for providing an amount of selectable options that a user is able to pick a single one from.

On the other hand a RadioGroup with RadioButtons could give a different UI element with the same result.

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87