tv = (TextView) findViewById(R.id.tv);
String a = "大飞抗裂砂浆副书记联发科时间的逢狼时刻解放路上了熟练度附近斯洛伐克";
SpannableString spanText = new SpannableString("图"+a);
Drawable d = getResources().getDrawable(R.mipmap.gen_zan_p);
// 左上右下 控制图片大小
d.setBounds(0, 0, 30, 30);
// 替换0,1的字符
spanText.setSpan(new ImageSpan(d), 0, 1, Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
tv.append("\n");
tv.append(spanText);