LayoutElementBuilders.Row.Builder

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.Row.Builder : LayoutElementBuilders.LayoutElement.Builder


Builder for Row.

Summary

Public constructors

This function is deprecated. Deprecated in Java

Public functions

LayoutElementBuilders.Row.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row.Builder
setVerticalAlignment(verticalAlignment: Int)

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row.Builder

This function is deprecated. Deprecated in Java

LayoutElementBuilders.Row.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.Row.Builder

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

build

fun build(): LayoutElementBuilders.Row

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.Row.Builder

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

setModifiers

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

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

setVerticalAlignment

Added in 1.0.0
Deprecated in 1.2.0
fun setVerticalAlignment(verticalAlignment: Int): LayoutElementBuilders.Row.Builder

Sets the vertical alignment of elements inside this row, if they are narrower than the resulting height of the row. If not defined, defaults to VERTICAL_ALIGN_CENTER.

setVerticalAlignment

Added in 1.0.0
Deprecated in 1.2.0
fun setVerticalAlignment(
    verticalAlignment: LayoutElementBuilders.VerticalAlignmentProp
): LayoutElementBuilders.Row.Builder

Sets the vertical alignment of elements inside this row, if they are narrower than the resulting height of the row. If not defined, defaults to VERTICAL_ALIGN_CENTER.

setWidth

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

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