views:

103

answers:

2

Hi, I'm new to Android and I want to make an image gallery where each column is a category, and users can scroll both vertically and horizontally.

I found a useful post about how to display list of images here. I'm wondering if it's possible to nest lists of image inside of a gallery view?

A: 

RachelZ: refer this url, the solution for ur question is here http://developer.android.com/resources/tutorials/views/hello-gallery.html

Tilsan The Fighter
Hi Tilsan: But this tutorial uses ImageAdapter which returns a ImageView to Gallery, will it work if I just extends ListAdapter and return ListView instead?
Rachel Z
A: 

You may need a GridView. A GridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. The grid items are automatically inserted to the layout using a ListAdapter.

dtmilano
I tried that but it seems GridView doesn't support horizontal scroll:http://stackoverflow.com/questions/2997818/gridview-with-horizontal-scroll
Rachel Z