public final class

LayoutElementBuilders.SpanText

extends java.lang.Object

implements LayoutElementBuilders.Span

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.SpanText

Overview

A portion of text which can be added to a LayoutElementBuilders.Span. Two different LayoutElementBuilders.SpanText elements on the same line will be aligned to the same baseline, regardless of the size of each LayoutElementBuilders.SpanText.

Summary

Methods
public static LayoutElementBuilders.SpanText.Builderbuilder()

Returns a new LayoutElementBuilders.SpanText.Builder.

public static LayoutElementBuilders.SpanTextfromProto(LayoutElementProto.SpanText proto)

public LayoutElementProto.SpantoSpanProto()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

Returns a new LayoutElementBuilders.SpanText.Builder.

public static LayoutElementBuilders.SpanText fromProto(LayoutElementProto.SpanText proto)

public LayoutElementProto.Span toSpanProto()