Spannable span = (Spannable) textView.getText();
TextAppearanceSpan textappearancespan = new TextAppearanceSpan(
mcontext, R.style.SynonyText);
span.setSpan(textappearancespan, start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
SynonyText为Styles.xml设置的属性(颜色,字体,大小等等);
注意: TextView的BufferType, android:bufferType="editable"