Change Text color within String in Texview.
This below is code snippet for change color within a textview in android.Click below link for update about android
String first = "This color is ";
String next = "<font color='#EE0000'>red</font>";
**YOUR_TEXTVIEW**.setText(Html.fromHtml(first + next));
No comments:
Post a Comment