public final class

LayoutElementBuilders.Spacer.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

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

Overview

Builder for LayoutElementBuilders.Spacer.

Summary

Methods
public LayoutElementBuilders.Spacerbuild()

public LayoutElementBuilders.Spacer.BuildersetHeight(DimensionBuilders.SpacerDimension.Builder heightBuilder)

Sets the height of this spacer.

public LayoutElementBuilders.Spacer.BuildersetHeight(DimensionBuilders.SpacerDimension height)

Sets the height of this spacer.

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

Sets ModifiersBuilders.Modifiers for this element.

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

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Spacer.BuildersetWidth(DimensionBuilders.SpacerDimension.Builder widthBuilder)

Sets the width of this LayoutElementBuilders.Spacer.

public LayoutElementBuilders.Spacer.BuildersetWidth(DimensionBuilders.SpacerDimension width)

Sets the width of this LayoutElementBuilders.Spacer.

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

Methods

Sets the width of this LayoutElementBuilders.Spacer. When this is added as the direct child of an LayoutElementBuilders.Arc, this must be specified as an angular dimension, otherwise a linear dimension must be used. If not defined, defaults to 0.

Sets the width of this LayoutElementBuilders.Spacer. When this is added as the direct child of an LayoutElementBuilders.Arc, this must be specified as an angular dimension, otherwise a linear dimension must be used. If not defined, defaults to 0.

Sets the height of this spacer. If not defined, defaults to 0.

Sets the height of this spacer. If not defined, defaults to 0.

Sets ModifiersBuilders.Modifiers for this element.

Sets ModifiersBuilders.Modifiers for this element.