TextView tv = new TextView(this);
tv.setText(Html.fromHtml("<font color=/"#ff0000/">红色</font>其它颜色"));
TextView 部分字符高亮
最新推荐文章于 2021-10-12 17:21:24 发布
TextView tv = new TextView(this);
tv.setText(Html.fromHtml("<font color=/"#ff0000/">红色</font>其它颜色"));