android - Only images in a spinner -


i have 4 images (drawables) want use in spinner. have found many ways include text , images using hash maps , overriding arrayadapter.

they seem complex handle 1 imageview in each row. there easier way this? if not how handle hash map 1 drawable?

you must define layout row of spinner, create custom arrayadapter. @ link

http://www.coderzheaven.com/2011/07/18/customizing-a-spinner-in-android/

i hope helps you. bestregards


Comments