How can I set the TextColor of a TextAppearanceSpan?

android

Solution

Why not use a `TextAppearanceSpan` with no `colorList`, in conjunction with a `ForegroundColorSpan`?

Problem

I currently able to create a Medium size TextAppearanceSpan, But how can I set the text color to a specified RBG color (say #c71585)? ``` new TextAppearanceSpan(context, android.R.style.TextAppearance_Medium); ``` I see there is a constructor for ``` public TextAppearanceSpan(Context context, int appearance, int colorList) { ``` But what is the int for colorList? Is there any example for this? Thank you.

Original source