关键代码
Drawable drawable=getResources().getDrawable(R.drawable.img_ytzyy);
drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
tv_summarize.setCompoundDrawables(drawable, null, null, null);`
需要注意的是:方法setBounds()中参数的含义,(左,上,右,下)