public final class

LayoutElementBuilders.Spannable

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Spannable

Overview

A container of LayoutElementBuilders.Span elements. Currently, this only supports LayoutElementBuilders.Text elements, where each individual LayoutElementBuilders.Span can have different styling applied to it but the resulting text will flow naturally. This allows sections of a paragraph of text to have different styling applied to it, for example, making one or two words bold or italic.

Summary

Methods
public static LayoutElementBuilders.Spannable.Builderbuilder()

Returns a new LayoutElementBuilders.Spannable.Builder.

public static LayoutElementBuilders.SpannablefromProto(LayoutElementProto.Spannable proto)

public LayoutElementProto.LayoutElementtoLayoutElementProto()

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

Methods

Returns a new LayoutElementBuilders.Spannable.Builder.

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

public LayoutElementProto.LayoutElement toLayoutElementProto()