[android-developers] Re: RadioGroup over two columns or rows?

2010-05-22 Thread m2k
hey,

On 15 Mai, 19:27, Julian Bunn jjb...@gmail.com wrote:
 I create a set of RadioButtons in a RadioGroup on the fly (no XML),
 and would like to arrange them in either two columns or two rows -
 right now they are in a single column. I could of course create two
 sets of RadioButtons, and place each in a different RadioGroup view,
 but presumably then I would have to control the active state of each
 button by taking into account both views.

 Does anyone have an idea how to better do this?

 Thanks!

i faced the same problem :)

but there's an easy solution :) combine a radio group with a relative
layout and align the radio button within :))
just with leftOf , rightOf , below, above :)

works great :)

gl  have fun :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: RadioGroup over two columns or rows?

2010-05-16 Thread jjbunn
Thanks ... I worked around my problem by using a ScrollView for the
RadioGroup.

On May 16, 6:43 pm, TreKing treking...@gmail.com wrote:
 On Sat, May 15, 2010 at 12:27 PM, Julian Bunn jjb...@gmail.com wrote:
  Does anyone have an idea how to better do this?

 If I understand your question correctly, I don't think there is a better
 way.

 -
 TreKing - Chicago transit tracking app for Android-powered 
 deviceshttp://sites.google.com/site/rezmobileapps/treking

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en