public final class

LayoutElementBuilders.Row.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

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

Overview

Builder for LayoutElementBuilders.Row.

Summary

Constructors
publicBuilder()

Methods
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 height)

Sets the height of this row.

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.BuildersetVerticalAlignment(LayoutElementBuilders.VerticalAlignmentProp 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 width)

Sets the width of this row.

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

Constructors

public Builder()

Methods

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

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 VERTICAL_ALIGN_CENTER.

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 VERTICAL_ALIGN_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 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.