public final class

LayoutElementBuilders.Row.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

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

Overview

Builder for LayoutElementBuilders.Row.

Summary

Methods
public LayoutElementBuilders.Row.BuilderaddContent(LayoutElementBuilders.LayoutElement.Builder contentBuilder)

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Row.

public LayoutElementBuilders.Row.BuilderaddContent(LayoutElementBuilders.LayoutElement content)

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Row.

public LayoutElementBuilders.Rowbuild()

public LayoutElementBuilders.Row.BuildersetHeight(DimensionBuilders.ContainerDimension.Builder heightBuilder)

Sets the height of this row.

public LayoutElementBuilders.Row.BuildersetHeight(DimensionBuilders.ContainerDimension height)

Sets the height of this row.

public LayoutElementBuilders.Row.BuildersetModifiers(ModifiersBuilders.Modifiers.Builder modifiersBuilder)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Row.BuildersetModifiers(ModifiersBuilders.Modifiers modifiers)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Row.BuildersetVerticalAlignment(int verticalAlignment)

Sets the vertical alignment of elements inside this row, if they are narrower than the resulting height of the row.

public LayoutElementBuilders.Row.BuildersetWidth(DimensionBuilders.ContainerDimension.Builder widthBuilder)

Sets the width of this row.

public LayoutElementBuilders.Row.BuildersetWidth(DimensionBuilders.ContainerDimension width)

Sets the width of this row.

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

Methods

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Row.

Adds one item to the list of child elements to place inside this LayoutElementBuilders.Row.

public LayoutElementBuilders.Row.Builder setVerticalAlignment(int verticalAlignment)

Sets the vertical alignment of elements inside this row, if they are narrower than the resulting height of the row. If not defined, defaults to VALIGN_CENTER.

Sets the width of this row. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the width of this row. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the height of this row. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets the height of this row. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

Sets ModifiersBuilders.Modifiers for this element.

Sets ModifiersBuilders.Modifiers for this element.