[android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Marshall Farrier
I'm trying to make a RadioGroup with active games where there is a message Your move! beside those games where it is your move. So, I modified my RadioGroup to have LinearLayouts with horizontal orientation as immediate children, then nest the RadioButtons inside those along with a TextView that

Re: [android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Mark Murphy
On Sun, Mar 13, 2011 at 10:33 AM, Marshall Farrier marsh...@marshallfarrier.com wrote: I’m trying to make a RadioGroup with active games where there is a message “Your move!” beside those games where it is your move. So, I modified my RadioGroup to have LinearLayouts with horizontal orientation

Re: [android-developers] RadioGroup listener won't listen when buttons are not direct children

2011-03-13 Thread Kostya Vasilyev
13.03.2011 17:33, Marshall Farrier ?: Unfortunately, when I put the LinearLayout between the RadioButtons and the RadioGroup in the hierarchy, the RadioGroup OnClickListener() stopped working. You can always mange RadioButton states without a RadioGroup at all, by setting an