it combine different choice mode into one View. There are two default mode, one is single choice mode act like RadioButton + RadioGroup
, the other is multiple choice mode act like CheckBox
. The Choice mode could be extended dynamically.
- the RadioButton + RadioGroup has limitation on it's items, they have to be honrizontal or vertical. Use this to get rid of it. You could arrange items whatever you like in layout xml
- it combine different choice mode into one View. Single choice, multiple choice and you could design the mode you like. May be it is an "order mode", which is a combination of single and multiple choice.(just like the case when ordering dinner)
- you could add Animation for selected and unselected state.
- you could design what radio button looks like by a layout xml.
let me show you the "order mode": order-choice.gif