-
public final class SpannableBuilderClass that allows you to create a CharSequence with markup objects inferred from styles. Currently supported attributes are defined in {@link R.styleable.Paris_Spannable}.
Note : setting a
@fontresource value to android:fontFamily is yet supported. For now, only string values will be taken into account (ex: "monospace", "serif", etc.)
-
-
Method Summary
Modifier and Type Method Description final SpannableBuilderappend(String text, @StyleRes() Integer styleRes)final SpannableBuilderappend(String text)final SpannableBuilderappend(String text, Style style)final CharSequencebuild(Context context)final UnitapplyTo(TextView textView)-
-
Method Detail
-
append
@JvmOverloads() final SpannableBuilder append(String text, @StyleRes() Integer styleRes)
-
append
@JvmOverloads() final SpannableBuilder append(String text)
-
append
final SpannableBuilder append(String text, Style style)
-
build
final CharSequence build(Context context)
-
-
-
-