public interface

LayoutElementBuilders.LayoutElement

 androidx.wear.tiles.LayoutElementBuilders.LayoutElement

Subclasses:

LayoutElementBuilders.Text, LayoutElementBuilders.Image, LayoutElementBuilders.Spacer, LayoutElementBuilders.Box, LayoutElementBuilders.Spannable, LayoutElementBuilders.Column, LayoutElementBuilders.Row, LayoutElementBuilders.Arc, Button, Text, CompactChip, Chip, CircularProgressIndicator, TitleChip, PrimaryLayout, MultiSlotLayout, ProgressIndicatorLayout, MultiButtonLayout

Overview

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

Summary

Methods
public static LayoutElementBuilders.LayoutElementfromLayoutElementProto(LayoutElementProto.LayoutElement proto)

Return an instance of one of this object's subtypes, from the protocol buffer representation.

public LayoutElementProto.LayoutElementtoLayoutElementProto()

Get the protocol buffer representation of this object.

Methods

public LayoutElementProto.LayoutElement toLayoutElementProto()

Get the protocol buffer representation of this object.

public static LayoutElementBuilders.LayoutElement fromLayoutElementProto(LayoutElementProto.LayoutElement proto)

Return an instance of one of this object's subtypes, from the protocol buffer representation.