[android-developers] RadioGroup divider

2012-05-22 Thread Karakuri Dev
Is there a simple way to add a divider between RadioButtons in a RadioGroup? I just want a thin line between the items in the group. I've tried using the "divider" xml attribute, and it had no effect. In case it's relevant, the RadioGroup in my layout file is empty and I'm adding RadioButtons p

Re: [android-developers] RadioGroup OnClickListener

2012-04-26 Thread rakesh jha
Hi friends, for the radio group you can use oncheckchangeListener that will be most suitable to implement. On Tue, Apr 24, 2012 at 3:43 AM, Justin Anderson wrote: > So how come that RadioGroup class has a setOnClickListener but not a >> getOnClickListener? >> > It's not just RadioGroup.

Re: [android-developers] RadioGroup OnClickListener

2012-04-24 Thread Narendra Singh Rathore
On Sun, Apr 15, 2012 at 10:42 PM, Mohamed Sobhy wrote: > So how come that RadioGroup class has a setOnClickListener but not a > getOnClickListener? > What can I use to go around this problem? What do you want to do with RadioGroup? If you want to get any particular radiobutton from RadioGroup,

Re: [android-developers] RadioGroup OnClickListener

2012-04-23 Thread Justin Anderson
> > So how come that RadioGroup class has a setOnClickListener but not a > getOnClickListener? > It's not just RadioGroup... it is all Views... What can I use to go around this problem? > Keep a member variable around for use when you need it... Thanks, Justin Anderson MagouyaWare Developer http:

[android-developers] RadioGroup OnClickListener

2012-04-22 Thread Mohamed Sobhy
So how come that RadioGroup class has a setOnClickListener but not a getOnClickListener? What can I use to go around this problem? I'm using Android 2.3 API. Any help or comments will be appreciated. -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] RadioGroup

2011-10-18 Thread Justin Anderson
http://tinyurl.com/3d2zb3t Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Oct 18, 2011 at 4:30 PM, Fahimul Islam wrote: > I am learning how to make android applications. I am trying to make a > radiogroup with java code where i want to make some

[android-developers] RadioGroup

2011-10-18 Thread Fahimul Islam
I am learning how to make android applications. I am trying to make a radiogroup with java code where i want to make some radiobuttons and include them in the radiogroup. can you please tell me how to make it with java not with the xml. It will be a great help. -- You received this message b

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 OnCheckedChan

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 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 as immediate > children,

[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 adding a radio button in listview

2011-01-20 Thread TreKing
On Thu, Jan 20, 2011 at 1:13 PM, kiros88 wrote: > so the only line that doesnt work is the call to add view in mRadioGroup > What does "doesn't work" mean? - TreKing

[android-developers] Radiogroup adding a radio button in listview

2011-01-20 Thread kiros88
Hi so basically im trying to have a list in extends ListActivity and stuff but right now im trying to get a listview of radio buttons which i guess works but now im trying to apply a radio group for the list. This is the part im stuck on so basically once i created my own array adapter i wanted to

Re: [android-developers] RadioGroup

2010-07-13 Thread chethan kumar
You mean you want to fire some action based on which RadioButton is Clicked rite... If that is the case use *isChecked() method* in your Button.ONclick ListenerHope it helps Regards Chethan On Tue, Jul 13, 2010 at 9:01 PM, anil kukreti wrote: > use the setChecked(boolean) method for particu

Re: [android-developers] RadioGroup

2010-07-13 Thread anil kukreti
use the setChecked(boolean) method for particular radiobutton which you want to get selected on clicking submit button On Tue, Jul 13, 2010 at 9:48 AM, perumal316 wrote: > Hi All, > > In my application I have a RadioGroup within which has 2 RadioButtons > Then I have another 'submit' button. > >

Re: [android-developers] RadioGroup

2010-07-13 Thread TreKing
On Mon, Jul 12, 2010 at 11:18 PM, perumal316 wrote: > > Any idea how to resolve this? > Not based on the little information you've posted. In particular "nothing happens" is not really useful information. Provide more details on how you've set this up, what you've seen by debugging, and what yo

[android-developers] RadioGroup

2010-07-12 Thread perumal316
Hi All, In my application I have a RadioGroup within which has 2 RadioButtons Then I have another 'submit' button. Upon clicking submit button I want to do tasks based on which button is selected in the RadioGroup. I can do this when there is no RadioGroup involved and there are only 2 buttons b

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

2010-05-16 Thread TreKing
On Sat, May 15, 2010 at 12:27 PM, Julian Bunn 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 - Chica

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

2010-05-15 Thread Julian Bunn
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

[android-developers] Radiogroup

2008-04-30 Thread 6real
Dear all, 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 rad