public final class

DimensionBuilders.VerticalLayoutConstraint.Builder

extends androidx.wear.protolayout.DimensionBuilders.DpPropLayoutConstraint.Builder

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.DpPropLayoutConstraint.Builder

↳androidx.wear.protolayout.DimensionBuilders.VerticalLayoutConstraint.Builder

Overview

Builder for DimensionBuilders.VerticalLayoutConstraint.

Summary

Fields
from androidx.wear.protolayout.DimensionBuilders.DpPropLayoutConstraint.BuildermFingerprint, mImpl
Constructors
publicBuilder(float value)

Creates a new builder for DimensionBuilders.VerticalLayoutConstraint.

Methods
public DimensionBuilders.VerticalLayoutConstraintbuild()

Builds an instance of DimensionBuilders.VerticalLayoutConstraint.

public DimensionBuilders.VerticalLayoutConstraint.BuildersetVerticalAlignment(int verticalAlignment)

Sets the vertical alignment of the actual content within the space reserved by value.

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

Constructors

public Builder(float value)

Creates a new builder for DimensionBuilders.VerticalLayoutConstraint.

Parameters:

value: Sets the value to use when laying out components which can have a dynamic value. Constrains the layout so that components are not changing size or location regardless of the dynamic value that is being provided.

Methods

public DimensionBuilders.VerticalLayoutConstraint.Builder setVerticalAlignment(int verticalAlignment)

Sets the vertical alignment of the actual content within the space reserved by value. If not specified, defaults to center alignment.

Builds an instance of DimensionBuilders.VerticalLayoutConstraint.