Reputation: 1137
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)?
Upvotes: 0
Views: 99
Reputation: 17942
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 RadioButton
s could give a different UI element with the same result.
Upvotes: 1