android.text.style
public
abstract
class
android.text.style.CharacterStyle
The classes that affect character-level text formatting extend this
class. Most also extend MetricAffectingSpan.
Known Direct Subclasses
Known Indirect Subclasses
AbsoluteSizeSpan,
DynamicDrawableSpan,
ImageSpan,
RelativeSizeSpan,
ReplacementSpan,
ScaleXSpan,
StyleSpan,
SubscriptSpan,
SuperscriptSpan,
TextAppearanceSpan,
TypefaceSpan,
URLSpan
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
Returns "this" for most CharacterStyles, but for CharacterStyles
that were generated by
wrap(CharacterStyle), returns the underlying
CharacterStyle.
public
abstract
void
updateDrawState(TextPaint tp)
A given CharacterStyle can only applied to a single region of a given
Spanned. If you need to attach the same CharacterStyle to multiple
regions, you can use this method to wrap it with a new object that
will have the same effect but be a distinct object so that it can
also be attached without conflict.