Hi,

For the spinner you must be using an adapter. I guess, while using an
adapter you would also be specifying a layout. It would probably be
something like this.

android.R.simple_spinner_item

Extract this file from the SDK location into your project.
..\android-sdk-windows-1.5_r2\platforms\android-1.5\data\res\layout
\simple_spinner_dropdown_item

Change the width of the layout, and use this layout in your code, i.e
while specifying the layout for your adapter.

Thanks and Regards,
Kumar Bibek

http://tech-droid.blogspot.com


On Dec 10, 9:26 pm, murali raju <[email protected]> wrote:
> Hi,
>
>     Thanks for your reply, but I didn't get what you were saying. Can you
> tell in a bit detail
>
> Thanks
>
> On Thu, Dec 10, 2009 at 8:42 PM, Kumar Bibek <[email protected]> wrote:
> > Copy the underlying layout xml, and change the width.
>
> > Now use this changed layout for populating your spinner.
>
> > Thanks,
> > Kumar Bibek
>
> >http://tech-droid.blogspot.com
>
> > On Dec 10, 7:23 pm, mmkr <[email protected]> wrote:
> > > Hi,
>
> > >      I am using spinners in my application, but when I click the drop
> > > down icon the options coverthe entire width of the screen. But I want
> > > the options to cover only some part of the screen(ie.. width). By
> > > using LayoutParams I am able to change only the spinner icon width but
> > > not the options width. I even searched for it,but of no use. Any one
> > > help me, I need it very badly.
>
> > > Thanks in advance.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to