Radio Group with different Linear layout

Put your problem here if it does not fit any of the other categories.

Radio Group with different Linear layout

Postby shubh » Tue Aug 31, 2010 2:25 pm

Hi friends,

here is what I would like to have as structure (for personnal "look
and feel" reasons) :

Radiogroup
`- LinearLayout
`-RadioButton1
`- LinearLayout
`-RadioButton2
`- LinearLayout
`-RadioButton3

So I can build it but the point is that the radiogroup is not working
fine. It is like if I have no radio group.
If I remove the LinearLayout layer, all is working fine.

Do you have any idea on how to solve this issue and to give back the
correct behavior to my radiogroup?
Thank in Advance
User avatar
shubh
Experienced Developer
Experienced Developer
 
Posts: 83
Joined: Tue May 18, 2010 7:17 am
Location: India

Top

Re: Radio Group with different Linear layout

Postby blundell » Wed Sep 01, 2010 11:55 am

Can I ask why you need linear layouts within your radio group?
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Radio Group with different Linear layout

Postby shubh » Thu Sep 09, 2010 12:52 pm

thnx blundell,

I need Radio button in My app like :
In first row Three Button, In second row two Button, and in third row one Button.

like :
0 0 0
0 0
0


please suggest me solution.
Thank in Advance
User avatar
shubh
Experienced Developer
Experienced Developer
 
Posts: 83
Joined: Tue May 18, 2010 7:17 am
Location: India

Re: Radio Group with different Linear layout

Postby blundell » Thu Sep 09, 2010 1:24 pm

I think your best best, is to just keep them as three separate radio groups and handle the UI changes yourself, save you loads of hassle
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Radio Group with different Linear layout

Postby shubh » Fri Sep 10, 2010 8:37 am

thanx blundell,

I handle radio buttons programitically ,but it will batter if i handle these thing at design time.
Thank in Advance
User avatar
shubh
Experienced Developer
Experienced Developer
 
Posts: 83
Joined: Tue May 18, 2010 7:17 am
Location: India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 26 guests