LayoutElementBuilders.LayoutElement


@RequiresSchemaVersion(major = 1, minor = 0)
public interface LayoutElementBuilders.LayoutElement

Known direct subclasses
Button

ProtoLayout component Button that represents clickable button with the given content.

Chip

ProtoLayout component Chip that represents clickable object with the text, optional label and optional icon or with custom content.

CircularProgressIndicator

ProtoLayout component CircularProgressIndicator that represents circular progress indicator which supports a gap in the circular track between startAngle and endAngle.

CompactChip

ProtoLayout component CompactChip that represents clickable object with the text.

EdgeContentLayout

ProtoLayout layout that represents the suggested layout style for Material ProtoLayout, which has content around the edge of the screen (e.g. a ProgressIndicator) and the given content inside of it with the recommended margin and padding applied.

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.ExtensionLayoutElement

A layout element which can be defined by a renderer extension.

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

Opinionated ProtoLayout layout, that can contain between 1 and MAX_BUTTONS number of buttons arranged inline with the Material guidelines.

MultiSlotLayout

Opinionated ProtoLayout layout, row like style with horizontally aligned and spaced slots (for icons or other small content).

PrimaryLayout

ProtoLayout layout that represents a suggested layout style for Material ProtoLayout with the primary (compact) chip at the bottom with the given content in the center and the recommended margin and padding applied.

Text

ProtoLayout component Text that represents text object holding any information.

TitleChip

ProtoLayout component TitleChip that represents clickable object with the text.


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