代码如下:
<span style="font-size:14px;">private Drawable fire; fire = context.getResources().getDrawable(R.drawable.fire); fire.setBounds(0, 0, fire.getMinimumWidth() * 4 / 5,fire.getMinimumHeight() * 4 / 5); t1.setCompoundDrawables(null, null, fire, null);</span>