DimensionBuilders.AngularLayoutConstraint.Builder


public final class DimensionBuilders.AngularLayoutConstraint.Builder


Builder for AngularLayoutConstraint.

Summary

Public constructors

@RequiresSchemaVersion(major = 1, minor = 200)
Builder(@Dimension(unit = 0) float value)

Creates a new builder for AngularLayoutConstraint.

Public methods

@NonNull DimensionBuilders.AngularLayoutConstraint

Builds an instance of AngularLayoutConstraint.

@NonNull DimensionBuilders.AngularLayoutConstraint.Builder
@RequiresSchemaVersion(major = 1, minor = 200)
setAngularAlignment(int angularAlignment)

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

Public constructors

Builder

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public Builder(@Dimension(unit = 0) float value)

Creates a new builder for AngularLayoutConstraint.

Parameters
@Dimension(unit = 0) float value

Sets the fixed value to reserve the space when used on a layout-changing data bind.

Public methods

build

Added in 1.0.0
public @NonNull DimensionBuilders.AngularLayoutConstraint build()

Builds an instance of AngularLayoutConstraint.

setAngularAlignment

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public @NonNull DimensionBuilders.AngularLayoutConstraint.Builder setAngularAlignment(int angularAlignment)

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