摘要:
一:TextView组件改变部分文字的颜色:1.TextView textView = (TextView)findViewById(R.id.textview); 2. 3.//方法一: 4.textView.setText(Html.fromHtml("<font color=\"#ff0000\">红色</font>其它颜色")); 5. 6.//方法二: 7. String text = "获得银宝箱!"; 8. SpannableStringBuilder style=new SpannableStr 阅读全文