The ObjectChoiceField field meets all my requirements but it is not pretty.
This is what I have:
String pets[] = {"Dog", "Cat", "Duck" };
ObjectChoiceField dd = new ObjectChoiceField("My Pet",pets,0,ObjectChoiceField.FIELD_LEFT);
But I would prefer to have pictures in the dropdown. My understanding is that the object array must contain objects that support the toString method. There are got to be a way to do I see it in other apps, I just can't find the correct object in the API.
It doesn't have to be an ObjectChoiceField.
I would use custom ButtonField and PopupScreen. Two reasons:
alt text http://img405.imageshack.us/img405/3746/dropdown.jpg
DropDownItem:
Custom ButtonField:
Dropdown control itself:
Sample of use: