I'm trying to create a spinner that displays an image+text, where the
image can be one of two possible images, depending on a parameter
(e.g. think of a list of users, with a green light if they're online
and a red one if they're not).

I subclassed ArrayAdapter, and I get exactly the behavior I want for
the image currently displayed in the Spinner. But when I click on the
Spinner and it displays all the drop down items, they do not display
per the custom ArrayAdapter I created.

Is there a way to get the view of each item in the drop-down menu to
display exactly as they do in the Spinner window when it's not open?

Do I need to override setDropDownViewResource similar to the way I
overrode getView?

As a general design question, why don't the items in the drop-down
menu display exactly as they do when the Spinner is not open?

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to