字体高亮

推荐安卓开发神器(里面有各种UI特效和android代码库实例)


SpannableStringBuilder style=new SpannableStringBuilder(string); 
style.setSpan(new ForegroundColorSpan(Color.RED,start,end,Spannable.SPAN_EX_...)); 
textView.setText(style); 

你可能感兴趣的:(字体)