[android-developers] Spinner dropdown customization
I'm trying to customize the look of the Spinner dropdown, both the
views that are contained in it and the dropdown itself (e.g. I want it
to wrap its contents instead of filling the screen). I know I can
call ArrayAdapter.setDropDownViewResource() to supply the views that
are used in the dropdown, but they're still displayed in an
AlertDialog by Spinner when clicked. And it's the AlertDialog that
takes the whole width of the screen, has a light background, etc. So
is there any way to affect the appearance of the AlertDialog other
than by subclassing Spinner and overriding performClick()? I just
wanted to check if I was missing something before going down that
road.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home