Reputation: 1169
How to do a layout like this? I currently use a listActivity and I need the same experience with this kind of layout.
Upvotes: 0
Views: 122
Reputation: 389
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
Upvotes: 0
Reputation: 749
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.
Upvotes: 0
Reputation: 328
You can use Staggered Grid View library. Also check and Quilt View. This is what you need.
Upvotes: 2