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.

3
  • GridView does support scrolling and comes with a scroll bar. Commented May 21, 2013 at 7:19
  • That's what i already mentioned in my question. Commented May 21, 2013 at 7:32
  • have you tried horizontal listview, check stackoverflow.com/questions/3240331/… Commented May 21, 2013 at 7:52

2 Answers 2

2

Or you can use additional plugins like this

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you very much. I really need something working like this. I even found my mistake with your help. :)
One more question Can i use adapter with horizontalScrollview to load images dynamically ?
i think it is better answered here stackoverflow.com/questions/11880340/…
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.

1 Comment

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.