I am trying to add lines with different colors to my TextView using html tags.
For whatever reason,
Html.fromHtml(\"
Html.fromHtml("text");
Instead of above please use following
Html.fromHtml("text]]>");
This worked for me and I am sure it will also work for you.
Let me know in case of any issue.