LayoutSize

enum class LayoutSize
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.layout.LayoutSize>
   ↳ androidx.ui.layout.LayoutSize

Used to specify how a layout chooses its own size when multiple behaviors are possible.

Summary

Enum values

Maximize the amount of free space by expanding to fill the available space, subject to the incoming layout constraints.

Minimize the amount of free space by wrapping the children, subject to the incoming layout constraints.

Enum values

Expand

enum val Expand : LayoutSize

Maximize the amount of free space by expanding to fill the available space, subject to the incoming layout constraints.

Wrap

enum val Wrap : LayoutSize

Minimize the amount of free space by wrapping the children, subject to the incoming layout constraints.