0

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.

Arun
  • 483
  • 6
  • 20

2 Answers2

2

Or you can use additional plugins like this

Arun C
  • 9,035
  • 2
  • 28
  • 42
  • Thank you very much. I really need something working like this. I even found my mistake with your help. :) – Arun May 21 '13 at 07:50
  • One more question Can i use adapter with horizontalScrollview to load images dynamically ? – Arun May 21 '13 at 07:59
  • i think it is better answered here http://stackoverflow.com/questions/11880340/horizontalscrollview-custom-adapter – Arun C May 21 '13 at 08:01
0

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.

deubaka
  • 1,447
  • 12
  • 22
  • I even tried HorizontalScrollView but find no solution. And with ViewPager we can show one image at a time but i need multiple images as shown in image. – Arun May 21 '13 at 07:28