user2707175
user2707175

Reputation: 1137

android UI many states switch

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

Answers (1)

Ben Weiss
Ben Weiss

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 RadioButtons could give a different UI element with the same result.

Upvotes: 1

Related Questions