It seems like a simple thing to do but this is the cause of much
frustration. How do I set the size of the ArrayAdapter popup window
when you select a spinner? By default it's the full width, and most of
the height of the screen.

I have tried making the spinner's parent a ViewGroup of the desired
dimensions, but it ignores this and seems to use the root view as the
parent for the popup ArrayAdapter.

The docs say something vague about overriding ArrayAdapter.getView(),
but they don't go into any detail and I can't work out any way of
doing it from there.

I have already spent over a day trying different things but can't work
it out - please help..


--~--~---------~--~----~------------~-------~--~----~
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