¡@

Home 

2014/10/16 ¤W¤È 08:22:08

android Programming Glossary: radiogroups

RadioGroup with two columns which have ten RadioButtons

http://stackoverflow.com/questions/10425569/radiogroup-with-two-columns-which-have-ten-radiobuttons

question You can simulate that RadioGroup to make it look like you have only one. For example you have rg1 and rg2 RadioGroups with orientation set to vertical the two columns . To setup those RadioGroups rg1 RadioGroup findViewById R.id.radioGroup1.. one. For example you have rg1 and rg2 RadioGroups with orientation set to vertical the two columns . To setup those RadioGroups rg1 RadioGroup findViewById R.id.radioGroup1 rg2 RadioGroup findViewById R.id.radioGroup2 rg1.clearCheck this is so we can.. rg2 RadioGroup findViewById R.id.radioGroup2 rg1.clearCheck this is so we can start fresh with no selection on both RadioGroups rg2.clearCheck rg1.setOnCheckedChangeListener listener1 rg2.setOnCheckedChangeListener listener2 To select only one RadioButton..

setting up a RadioGroup programmatically

http://stackoverflow.com/questions/6332042/setting-up-a-radiogroup-programmatically

all be in a straight line going horizontal. Is there a way to do what I want or am I forced to set up two separate RadioGroups both to horizontal orientation android share improve this question Try processing the RadioButtons without the use..