Re: [android-developers] Custom Spinner with two TextViews and a RadioButton

2011-10-12 Thread TreKing
On Wed, Oct 12, 2011 at 8:08 AM, Aman wrote: > Now, I am easily able to create a Spinner item with two TextViews but when > I add a RadioButton the whole UI doesn't work. After adding the RadioButton, > the Spinner dialog doesn't get dismissed > The point of a RadioButton is to toggle a selectio

Re: [android-developers] Custom Spinner with two TextViews and a RadioButton

2011-10-12 Thread Mark Murphy
Make it be a TextView and a CheckedTextView with the appropriate style. You can find the android.R.layout.simple_spinner_dropdown_item definition in your SDK (platforms/.../data/res/layout) -- copy that and adjust to suit. On Wed, Oct 12, 2011 at 9:08 AM, Aman wrote: > I want to create a Spinner

[android-developers] Custom Spinner with two TextViews and a RadioButton

2011-10-12 Thread Aman
I want to create a Spinner with each item having two TextViews and a RadioButton. It is similar to the default Spinner item, the only difference is presence of a second TextView with smaller font. It describes the content of that item. Now, I am easily able to create a Spinner item with two TextVie