How do you make a dropdown list that displays images to the user instead of text?
问题 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