class ChainStyle


The style of a horizontal or vertical chain.

Summary

Public companion functions

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.

Public companion properties

ChainStyle

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

ChainStyle

A chain style that evenly distributes the contained layouts.

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.

Public companion functions

Packed

Added in 1.1.0-rc01
fun Packed(bias: Float): ChainStyle

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

Public companion properties

Packed

Added in 1.1.0-rc01
val PackedChainStyle

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

Spread

Added in 1.1.0-rc01
val SpreadChainStyle

A chain style that evenly distributes the contained layouts.

SpreadInside

Added in 1.1.0-rc01
val SpreadInsideChainStyle

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.