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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -