You can use a select_one with an appearance of compact. If you want to
force n columns, use compact-n. Then in your choices sheet, add an
image column with the name of the image file (e.g., red.png). Those
media files need to be uploaded with the form or put in
/sdcard/odk/formName-media/.
I've attached an example form (grid.xls) with a few images
({red,orange,blue}.png) and a screenshot (screenshot.png).
···
On Mon, Feb 6, 2017 at 9:59 AM, A.N.M AL-IMRAN wrote:
> Hi Friends,
>
> I am trying to add images as options for select one/multiple questions. I
> know, I can display an image next to the check box or radio button; however,
> I do not want the radio buttons, instead, I would like the images to work as
> a select option. I found some examples on ODK website, which is for XML, but
> how do I program that on xls form?
>
> Thanks,
> Imran
>
> --
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ODK Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to opendatakit+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.