How to Implement a Staggered Grid View in Android
A staggered grid view includes multiple columns with multiple rows of varying sizes.
Join the DZone community and get the full member experience.
Join For FreeAndroid developers looking for some new layout options - in particular a staggered grid view that includes multiple columns with multiple rows of varying sizes - may be interested in this library developed by the Etsy team. It allows for a flexible column/row view with a header and footer and looks fairly easy to implement, though Gradle users will have an easier time than those working with Eclipse and Ant. This is what the view looks like in the Etsy app for which it was developed:
It's all on Etsy's Github, and they've also included a walkthrough to get it all set up, as well as a list of the library's limitations.
Opinions expressed by DZone contributors are their own.
Comments