java.lang.Object | |||
↳ | android.text.style.CharacterStyle | ||
↳ | android.text.style.MetricAffectingSpan | ||
↳ | android.text.style.TextAppearanceSpan |
Sets the text color, size, style, and typeface to match a TextAppearance resource.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Uses the specified TextAppearance resource to determine the
text appearance.
| |||||||||||
Uses the specified TextAppearance resource to determine the
text appearance, and the specified text color resource
to determine the color.
| |||||||||||
Makes text be drawn with the specified typeface, size, style,
and colors.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns the typeface family specified by this span, or
null
if it does not specify one. | |||||||||||
Returns the link color specified by this span, or
null
if it does not specify one. | |||||||||||
Return a special type identifier for this span class.
| |||||||||||
Returns the text color specified by this span, or
null
if it does not specify one. | |||||||||||
Returns the text size specified by this span, or
-1
if it does not specify one. | |||||||||||
Returns the text style specified by this span, or
0
if it does not specify one. | |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.text.style.MetricAffectingSpan
| |||||||||||
From class android.text.style.CharacterStyle
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
| |||||||||||
From interface android.text.ParcelableSpan
|
Uses the specified TextAppearance resource to determine the
text appearance. The appearance
should be, for example,
android.R.style.TextAppearance_Small
.
Uses the specified TextAppearance resource to determine the
text appearance, and the specified text color resource
to determine the color. The appearance
should be,
for example, android.R.style.TextAppearance_Small
,
and the colorList
should be, for example,
android.R.styleable.Theme_textColorDim
.
Makes text be drawn with the specified typeface, size, style, and colors.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Returns the typeface family specified by this span, or null
if it does not specify one.
Returns the link color specified by this span, or null
if it does not specify one.
Return a special type identifier for this span class.
Returns the text color specified by this span, or null
if it does not specify one.
Returns the text size specified by this span, or -1
if it does not specify one.
Returns the text style specified by this span, or 0
if it does not specify one.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. |