我在Android上有一个RPG项目,但我有一个小问题:我想为特定的字符设置特定的颜色,但Android不会返回像return Html.fromHtml("</font><font color = #00FF00>" + a +"</font><font color = #FFFFFF>");这样的东西public class TableauClass {
Random rand = new Random(); // rand s
public static Spanned getSpecialCharacter(Context context){ if (spanned_character ==null) {
spanned_character = getSymbolColor(context, "\uf100", Color
TextView textViewHtml = (TextView) findViewById(R.id.text_html_program); + "created in the Java source code using HTML.");
textViewHtml.setText(spanned