[android-developers] Re: RadioGroup divider

2012-05-22 Thread Karakuri Dev
This problem has been solved. That code up there does work. -- 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-devel

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

2011-03-13 Thread Aisthesis
awesome, tx Kostya! On Mar 13, 10:49 am, Kostya Vasilyev wrote: > 13.03.2011 18:14, Aisthesis пишет: > > > to drop the RadioGroup but keep the > > RadioButtons and manage their states by setting an > > onCheckedChangeListener? > > You will need something that "implements OnCheckedChangeListener",

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

2011-03-13 Thread Kostya Vasilyev
13.03.2011 18:14, Aisthesis пишет: to drop the RadioGroup but keep the RadioButtons and manage their states by setting an onCheckedChangeListener? You will need something that "implements OnCheckedChangeListener", might as well be your activity. Also something to store the currently selected

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

2011-03-13 Thread Aisthesis
Thanks very much for the fast responses! I don't like the string concatention because the UI looks way better if I can make the message text a different color and size. Any suggestions on where to look to make my RadioGroup smart enough to look down the hierarchy or to drop the RadioGroup but keep

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

2011-01-20 Thread Doug
Bear in mind that when you're using a ListView, not all your item views are created and visible at the same time. You are creating or modifying the visible view on demand based on what is visible at the moment. If you want decide if a radio button in a ListView should be active or inactive at any

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

2011-01-20 Thread TreKing
On Thu, Jan 20, 2011 at 1:45 PM, kiros88 wrote: > When i check log cat i basically get a saying that null pointer exception > with the line of code about addView so im not sure if its placed in a bad > spot because its in a overide function getView > Use your debugger to step through the code or

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

2011-01-20 Thread kiros88
When i check log cat i basically get a saying that null pointer exception with the line of code about addView so im not sure if its placed in a bad spot because its in a overide function getView I'm just trying to find a way to dynamically add radiobuttons to a radiogroup without using a scrollVie

[android-developers] Re: RadioGroup

2010-07-19 Thread perumal316
Thanks managed to solve it. On Jul 14, 1:54 am, chethan kumar wrote: > 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,

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

2010-05-22 Thread m2k
hey, On 15 Mai, 19:27, Julian Bunn 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 di

[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 wrote: > 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 bett

[android-developers] Re: Radiogroup

2008-05-02 Thread 6real
Ok guys, thanks all for your answers. Actually this is a point of design so I will developp my app with this "constraint" and if one day it is possible to do what I expect then I will change my code. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Radiogroup

2008-04-30 Thread Romain Guy
RadioButtons must be direct children of RadioGroup at the moment. On Wed, Apr 30, 2008 at 6:07 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > 6real wrote: >> Actually I try to create a custom background with >> -> alternate colors (even and odd) >> -> rounded rectangle shaped >> >> I try to exten

[android-developers] Re: Radiogroup

2008-04-30 Thread Mark Murphy
6real wrote: > Actually I try to create a custom background with > -> alternate colors (even and odd) > -> rounded rectangle shaped > > I try to extend RadioButton directly but the result was not what I > expected (the text and button was kind of "greyed" or set with a high > transparency ...) >

[android-developers] Re: Radiogroup

2008-04-30 Thread 6real
Mark, thanks for your quick reply. Actually I try to create a custom background with -> alternate colors (even and odd) -> rounded rectangle shaped I try to extend RadioButton directly but the result was not what I expected (the text and button was kind of "greyed" or set with a high transparen

[android-developers] Re: Radiogroup

2008-04-30 Thread Mark Murphy
6real wrote: > 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