LayoutElementBuilders.LayoutElement

Added in 1.0.0
Deprecated in 1.2.0

public interface LayoutElementBuilders.LayoutElement

Known direct subclasses
Button

This class is deprecated.

Use the new class androidx.wear.protolayout.material.Button which provides the same API and functionality.

Chip

This class is deprecated.

Use the new class androidx.wear.protolayout.material.Chip which provides the same API and functionality.

CircularProgressIndicator

This class is deprecated.

Use the new class which provides the same API and functionality.

CompactChip

This class is deprecated.

Use the new class androidx.wear.protolayout.material.CompactChip which provides the same API and functionality.

EdgeContentLayout

This class is deprecated.

Use the new class which provides the same API and functionality.

LayoutElementBuilders.Arc

An arc container.

LayoutElementBuilders.Box

A container which stacks all of its children on top of one another.

LayoutElementBuilders.Column

A column of elements.

LayoutElementBuilders.Image

An image.

LayoutElementBuilders.Row

A row of elements.

LayoutElementBuilders.Spacer

A simple spacer, typically used to provide padding between adjacent elements.

LayoutElementBuilders.Spannable

A container of Span elements.

LayoutElementBuilders.Text

A text string.

MultiButtonLayout

This class is deprecated.

Use the new class which provides the same API and functionality.

MultiSlotLayout

This class is deprecated.

Use the new class androidx.wear.protolayout.material.layouts.MultiSlotLayout which provides the same API and functionality.

PrimaryLayout

This class is deprecated.

Use the new class androidx.wear.protolayout.material.layouts.PrimaryLayout which provides the same API and functionality.

Text

This class is deprecated.

Use the new class androidx.wear.protolayout.material.Text which provides the same API and functionality.

TitleChip

This class is deprecated.

Use the new class androidx.wear.protolayout.material.TitleChip which provides the same API and functionality.


Interface defining the root of all layout elements. This exists to act as a holder for all of the actual layout elements above.

Summary

Nested types

Builder to create LayoutElement objects.