LayoutElementBuilders.Column.Builder

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.Column.Builder : LayoutElementBuilders.LayoutElement.Builder


Builder for Column.

Summary

Public constructors

This function is deprecated. Deprecated in Java

Public functions

LayoutElementBuilders.Column.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column.Builder
setHorizontalAlignment(horizontalAlignment: Int)

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Column.Builder

This function is deprecated. Deprecated in Java

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

addContent

Added in 1.0.0
Deprecated in 1.2.0
fun addContent(content: LayoutElementBuilders.LayoutElement): LayoutElementBuilders.Column.Builder

Adds one item to the list of child elements to place inside this Column.

build

fun build(): LayoutElementBuilders.Column

Builds an instance with values accumulated in this Builder.

setHeight

Added in 1.0.0
Deprecated in 1.2.0
fun setHeight(height: DimensionBuilders.ContainerDimension): LayoutElementBuilders.Column.Builder

Sets the height of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).

setHorizontalAlignment

Added in 1.0.0
Deprecated in 1.2.0
fun setHorizontalAlignment(horizontalAlignment: Int): LayoutElementBuilders.Column.Builder

Sets the horizontal alignment of elements inside this column, if they are narrower than the resulting width of the column. If not defined, defaults to HORIZONTAL_ALIGN_CENTER.

setHorizontalAlignment

Added in 1.0.0
Deprecated in 1.2.0
fun setHorizontalAlignment(
    horizontalAlignment: LayoutElementBuilders.HorizontalAlignmentProp
): LayoutElementBuilders.Column.Builder

Sets the horizontal alignment of elements inside this column, if they are narrower than the resulting width of the column. If not defined, defaults to HORIZONTAL_ALIGN_CENTER.

setModifiers

Added in 1.0.0
Deprecated in 1.2.0
fun setModifiers(modifiers: ModifiersBuilders.Modifiers): LayoutElementBuilders.Column.Builder

Sets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element.

setWidth

Added in 1.0.0
Deprecated in 1.2.0
fun setWidth(width: DimensionBuilders.ContainerDimension): LayoutElementBuilders.Column.Builder

Sets the width of this column. If not defined, this will size itself to fit all of its children (i.e. a WrappedDimension).