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


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.


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