public final class

LayoutElementBuilders.Column

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Column

Overview

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.

Summary

Methods
public static LayoutElementBuilders.Column.Builderbuilder()

Returns a new LayoutElementBuilders.Column.Builder.

public static LayoutElementBuilders.ColumnfromProto(LayoutElementProto.Column proto)

public LayoutElementProto.LayoutElementtoLayoutElementProto()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static LayoutElementBuilders.Column.Builder builder()

Returns a new LayoutElementBuilders.Column.Builder.

public static LayoutElementBuilders.Column fromProto(LayoutElementProto.Column proto)

public LayoutElementProto.LayoutElement toLayoutElementProto()