public static final class LayoutElementBuilders.Column
extends Object implements LayoutElementBuilders.LayoutElement


A column of elements. Each child element will be laid out vertically, one after another (i.e. stacking down). This element will size itself to the smallest size required to hold all of its children (e.g. if it contains three elements sized 10x10, 20x20 and 30x30, the resulting column will be 30x60).

If specified, horizontal_alignment can be used to control the gravity inside the container, affecting the horizontal placement of children whose width are smaller than the resulting column width.


Nested classes

class LayoutElementBuilders.Column.Builder

Builder for LayoutElementBuilders.Column

Public methods

static LayoutElementBuilders.Column.Builder builder()

Returns a new LayoutElementBuilders.Column.Builder.

Inherited methods

Public methods