Drawable rightDrawable = getResources().getDrawable(R.drawable.icon_new);
rightDrawable.setBounds(0, 0, rightDrawable.getMinimumWidth(), rightDrawable.getMinimumHeight());
textview.setCompoundDrawables(null, null, rightDrawable, null);
或者
holder.tvAmount.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_recharge_diamonds, 0);