Google is committed to advancing racial equity for Black communities. See how.

ChainStyle

class ChainStyle
kotlin.Any
   ↳ androidx.ui.layout.ConstraintSetBuilderScope.ChainStyle

The style of a horizontal or vertical chain.

Summary

Companion functions
ConstraintSetBuilderScope.ChainStyle
Packed(bias: Float)

A chain style where the contained layouts are packed together and placed in the available space according to a given bias.

Companion properties
ConstraintSetBuilderScope.ChainStyle

A chain style where the contained layouts are packed together and placed to the center of the available space.

ConstraintSetBuilderScope.ChainStyle

A chain style that evenly distributes the contained layouts.

ConstraintSetBuilderScope.ChainStyle

A chain style where the first and last layouts are affixed to the constraints on each end of the chain and the rest are evenly distributed.

Companion functions

Packed

fun Packed(bias: Float): ConstraintSetBuilderScope.ChainStyle

A chain style where the contained layouts are packed together and placed in the available space according to a given bias.

Companion properties

Packed

val Packed: ConstraintSetBuilderScope.ChainStyle

A chain style where the contained layouts are packed together and placed to the center of the available space.

Spread

val Spread: ConstraintSetBuilderScope.ChainStyle

A chain style that evenly distributes the contained layouts.

SpreadInside

val SpreadInside: ConstraintSetBuilderScope.ChainStyle

A chain style where the first and last layouts are affixed to the constraints on each end of the chain and the rest are evenly distributed.