StaggeredGridView

A View that lays out item views in a staggered grid formation using View Templates.

Examples

A vertical Grid with two columns showing images with differing heights based on their aspect ratio
<StaggeredGridView items="#{myItems}" width="fill_parent" spanCount="2">
	<Template>
		<ImageView href="#{item.imageUrl}" width="fill_parent" height="wrap_content"/>
	</Template>
</StaggeredGridView>

Children

One or more Template elements. Please refer to the View Templates documentation.

Attributes

Name Type Default Binding Description

Inherits all attributes from GridView and adds no attributes.


Parts of this documentation are a derivate of the Android Developer Documentation by Google used under CC-BY-2.5.

results matching ""

    No results matching ""