Java android.text.style TextAppearanceSpan fields, constructors, methods, implement or subclass

Example usage for Java android.text.style TextAppearanceSpan fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text.style TextAppearanceSpan.

The text is from its open source code.

Constructor

TextAppearanceSpan(Context context, int appearance)
Uses the specified TextAppearance resource to determine the text appearance.
TextAppearanceSpan(String family, int style, int size, ColorStateList color, ColorStateList linkColor)
Makes text be drawn with the specified typeface, size, style, and colors.

Method

StringgetFamily()
Returns the typeface family specified by this span, or null if it does not specify one.
ColorStateListgetLinkTextColor()
Returns the link color specified by this span, or null if it does not specify one.
ColorStateListgetTextColor()
Returns the text color specified by this span, or null if it does not specify one.
intgetTextSize()
Returns the text size specified by this span, or -1 if it does not specify one.
intgetTextStyle()
Returns the text style specified by this span, or 0 if it does not specify one.