public final class

LayoutElementBuilders.Row

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Row

Overview

A row of elements. Each child will be laid out horizontally, one after another (i.e. stacking to the right). 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 row will be 60x30).

If specified, vertical_alignment can be used to control the gravity inside the container, affecting the vertical placement of children whose width are smaller than the resulting row height.

Summary

Methods
public static LayoutElementBuilders.Row.Builderbuilder()

Returns a new LayoutElementBuilders.Row.Builder.

public static LayoutElementBuilders.RowfromProto(LayoutElementProto.Row proto)

public LayoutElementProto.LayoutElementtoLayoutElementProto()

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

Methods

public static LayoutElementBuilders.Row.Builder builder()

Returns a new LayoutElementBuilders.Row.Builder.

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

public LayoutElementProto.LayoutElement toLayoutElementProto()