Arun
Arun

Reputation: 483

Horizontal scrolling images gallery in android

I am working on camera application in android and have a page with a camera preview on half of the screen and an image gallery as shown in image below. Right now, i am using gridview to show image thumbnails in gallery. But, the problem is, i can't make the gallery scrollable(horizontally). I also found that horizontal scrolling is not supported in grid view.

enter image description here

The screenshot i provided is from iphone app and that is working fine. I used uicollectionview in iphone app for the same.

I can't find anything like uicollectionview in android.

Any help will be appreciated. Thanks in advance.

Upvotes: 0

Views: 2866

Answers (2)

Arun C
Arun C

Reputation: 9035

Or you can use additional plugins like this

Upvotes: 2

deubaka
deubaka

Reputation: 1447

You could take a look at Gallery if that is what you meant. Just take not that it recently got deprecated and you should either use a HorizontalScrollView or a ViewPager and programmatically add the items.

Upvotes: 0

Related Questions