版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010886975/article/details/54964493
String html = "<font color=\"green\">"+"绿色字体"+" </font><font color=\"black\">"+"黑色字体"+"</font>"
textView.setText(Html.fromHtml(html))