LayoutElementBuilders.Spannable

public static final class LayoutElementBuilders.Spannable
extends Object implements LayoutElementBuilders.LayoutElement

java.lang.Object
   ↳ androidx.wear.tiles.builders.LayoutElementBuilders.Spannable


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

Nested classes

class LayoutElementBuilders.Spannable.Builder

Builder for LayoutElementBuilders.Spannable

Public methods

static LayoutElementBuilders.Spannable.Builder builder()

Returns a new LayoutElementBuilders.Spannable.Builder.

Inherited methods

Public methods