private void setFuJianPic(TextView textView) {
Bitmap b = BitmapFactory.decodeResource(getContext().getResources(), R.drawable.icon_fujian);
ImageSpan imgSpan = new ImageSpan(getContext(), b);
SpannableString spanString = new SpannableString("icon");
spanString.setSpan(imgSpan, 0, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
// textView.setText(Html.fromHtml(content));
textView.append(spanString);
}
private void setReadState(TextView textView) {
Bitmap b = BitmapFactory.decodeResource(getContext().getResources(), R.drawable.icon_group_topic_unread);
ImageSpan imgSpan = new ImageSpan(getContext(), b);
SpannableString spanString = new SpannableString("icon");
spanString.setSpan(imgSpan, 0, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
textView.append(spanString);
}