新浪微博 Github
摘要: 一、设置部分字体的颜色通过SpannableStringBuilder style = new SpannableStringBuilder(CharSequence cs);style.setSpan(new ForegroundColorSpan(color), begin, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);tv.setText(style);设置,由于此种方法比较复杂,我实现了一个辅助类,能够快速实现部分字体的颜色;final class TextViewUtil{ public static CharSequence setTextC. 阅读全文
posted @ 2012-05-19 23:58 xiazdong 阅读(335) 评论(0) 推荐(0)