如何更改Web视图的文本颜色? [英] how to change text color of web view ?
本文介绍了如何更改Web视图的文本颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改网页视图的文字颜色?
如果颜色代码值是字符串
例如,
String color =#ff0000;
如何将 字符串颜色 设置为 网页视图文本颜色 ?
How to change the text color of web view ?
if the color code value is in String
For example,
String color = "#ff0000";
how to set the String color to the web view text color?
推荐答案
String message ="<font color=\"" + Color + "\">" +Content+ "</font>";
这篇关于如何更改Web视图的文本颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文