How to show own view in Spinner Widget instead of Text View?

Posted by Janusz on Stack Overflow See other posts from Stack Overflow or by Janusz
Published on 2010-03-16T10:13:21Z Indexed on 2010/03/16 10:16 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

I have a selection for some items using a spinner widget. At the moment the spinner will load a simple Textview and show the name of the item.
It is possible to define an own view to show inside the spinner row? I would suspect it being similar to a custom List row.

I simply want to show an individual icon left from the spinner text for each item in the list.

© Stack Overflow or respective owner

Related posts about android

Related posts about layout