How to do a layout like this? I currently use a listActivity and I need the same experience with this kind of layout.
Asked
Active
Viewed 112 times
0
-
Try This [StaggeredGridView](https://github.com/maurycyw/StaggeredGridView) – Abhishek Patel Nov 11 '13 at 09:42
-
Check https://github.com/huewu/PinterestLikeAdapterView.. – Amit Gupta Nov 11 '13 at 09:46
4 Answers
2
You can use Staggered Grid View library. Also check and Quilt View. This is what you need.

Dragan
- 328
- 2
- 12
0
To get this effect, you should create two list views and link the scrolls of both lists.
Define a OnScrollListener on both listviews and when "onScroll()", move programatically the other list. I think if all images are cached you shouldn't have delays.

iflorit
- 740
- 5
- 10
0
You can use Staggered Grid View library. But there you need to mention height of each image pragmatically to set height of list view. Else when you scroll to end and come back to top, the alignment of images on top will get disturbed

Suneel Prakash
- 389
- 5
- 7
-
Some more explanation would be good, e.g. just an example xml file. – Aleksander Lidtke Nov 11 '13 at 10:08