[android-developers] Can we customize spinner dialog

2010-09-15 Thread Karteek N
When we select spinner it shows a display of  items which almost the device
screen size

Can we minimize its width or height, I think this question was already
posted by some one. But i am unable to find solution

Thanks,
Karteek

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Can we customize spinner dialog

2010-09-15 Thread Shashidhar
Yes, You can do it. While setting the dropdownviewresource for the adapter
of your spinner, define your own xml layout instead of the android's inbuilt
resource xml. Your xml can simply have a textview with your required layout
parameters.

-Shashidhar

On Thu, Sep 16, 2010 at 9:55 AM, Karteek N kartee...@gmail.com wrote:

 When we select spinner it shows a display of  items which almost the device
 screen size

 Can we minimize its width or height, I think this question was already
 posted by some one. But i am unable to find solution

 Thanks,
 Karteek

 --
 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-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en