DimensionBuilders.AngularLayoutConstraint.Builder


class DimensionBuilders.AngularLayoutConstraint.Builder


Builder for AngularLayoutConstraint.

Summary

Public constructors

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

Creates a new builder for AngularLayoutConstraint.

Public functions

DimensionBuilders.AngularLayoutConstraint

Builds an instance of AngularLayoutConstraint.

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

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)
Builder(value: @Dimension(unit = 0) Float)

Creates a new builder for AngularLayoutConstraint.

Parameters
value: @Dimension(unit = 0) Float

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

Public functions

build

Added in 1.0.0
fun build(): DimensionBuilders.AngularLayoutConstraint

Builds an instance of AngularLayoutConstraint.

setAngularAlignment

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
fun setAngularAlignment(angularAlignment: Int): DimensionBuilders.AngularLayoutConstraint.Builder

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