TextAppearanceSpan

Class of android.text.style · TextAppearanceSpan.java · Android's reference

public class TextAppearanceSpan extends MetricAffectingSpan implements ParcelableSpan

TextAppearanceSpan ← MetricAffectingSpan ← CharacterStyle

A font family, style, size and colors for text.

Constructors

public TextAppearanceSpan(String family, int style, int size, ColorStateList color, ColorStateList linkColor) source

Methods

public String getFamily() source
public ColorStateList getTextColor() source
public ColorStateList getLinkTextColor() source
public int getTextSize() source
public int getTextStyle() source
public int getSpanTypeId() source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) source
public void updateDrawState(TextPaint ds) source
public void updateMeasureState(TextPaint ds) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.