public interface

LayoutElementBuilders.Span

 androidx.wear.tiles.LayoutElementBuilders.Span

Subclasses:

LayoutElementBuilders.SpanText, LayoutElementBuilders.SpanImage

Overview

Interface defining a single LayoutElementBuilders.Span. Each LayoutElementBuilders.Span forms part of a larger LayoutElementBuilders.Spannable widget. At the moment, the only widgets which can be added to LayoutElementBuilders.Spannable containers are LayoutElementBuilders.SpanText and LayoutElementBuilders.SpanImage elements.

Summary

Methods
public static LayoutElementBuilders.SpanfromSpanProto(LayoutElementProto.Span proto)

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

public LayoutElementProto.SpantoSpanProto()

Get the protocol buffer representation of this object.

Methods

public LayoutElementProto.Span toSpanProto()

Get the protocol buffer representation of this object.

public static LayoutElementBuilders.Span fromSpanProto(LayoutElementProto.Span proto)

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