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

2011-10-18 Thread Aman
Thanks for the suggestion Mark. CheckedTextView works fine. -- 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

Re: [android-developers] Re: Custom Spinner

2010-04-12 Thread murali raju
I tried it, it just reduces the width of the text in the drop down but not the width of drop down. On Tue, Apr 13, 2010 at 6:20 AM, skyhigh wrote: > To customize the way that the spinner drop down looks I think you need > to use your own custom layout instead of using the standard android > layo

[android-developers] Re: Custom Spinner

2010-04-12 Thread skyhigh
To customize the way that the spinner drop down looks I think you need to use your own custom layout instead of using the standard android layout android.R.layout.simple_spinner_dropdown_item You can find the xml layout definition for android.R.layout.simple_spinner_dropdown_item at the following

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi, Thanks for your reply. I need a spinner, which when clicked I get a drop down view which do not cover the entire width of the screen. In my application i display all the items of the sdcard in table layout. I have a spinner on top of my application with some options. So when i c

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi Bob, Even i gave up on that. Finally i created a custom layout which displays the list of items( the items which i want to display in the spinner ), in a listview, at any position on the screen. We can create a listview with any height and width, using LayoutParams , my requi

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi, Thanks for your reply. I need a spinner, which when clicked I get a drop down view which do not cover the entire width of the screen. In my application i display all the items of the sdcard in table layout. I have a spinner on top of my application with some options. So when i c

[android-developers] Re: Custom Spinner

2010-03-11 Thread Bob Kerns
I should add that yes, I could write my own parent widget. However, I really think this is a bug in Spinner. Using it with RelativeView leads to it basically ignoring the layout parameters. Anomalies like this make the toolkit that much harder and more frustrating to use. Is this a known bug? I d

[android-developers] Re: Custom Spinner

2010-03-11 Thread Bob Kerns
I was trying to do the same thing about 24 hours ago. I finally gave up, and made what I wanted to coexist with the Spinner be part of the view inside the spinner. I could find no combination of things that allowed the layout to both size the text to the left, and left-align the text within the sp

[android-developers] Re: Custom Spinner

2010-03-10 Thread Kumar Bibek
It is possible. But we need to know first what your requirements are. You can fully customize any widget. Thanks and Regards, Kumar Bibek. On Mar 9, 6:42 pm, mmkr wrote: > Hi all, > >         The default drop down view of the spinner occupies the entire > width of the screen. I tried to create a