[1].[代码] [Java]代码 跳至 [1]
1
2
3
4
5
6
7
8
|
//<string name="test"><Data><![CDATA[ <b><font color="#ff0000">ABC</font></b> ]]></Data></string>
//<string name="test22">共送了<b><font color="#ff0000">ABfdaf3%s432425C</font></b>件啦啦啦</string>
hello = (TextView)findViewById(R.id.hello);
hello.setText(Html.fromHtml(String.format(getString(R.string.test22),
"==HELLO++=="
)));
|