Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Implement a Staggered Grid View in Android

DZone's Guide to

How to Implement a Staggered Grid View in Android

A staggered grid view includes multiple columns with multiple rows of varying sizes.

· Mobile Zone ·
Free Resource

Android 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.

Topics:
library ,mobile ,staggeredgridview

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}