Drawable drawable = context.getResources().getDrawable(list.get(position).getPicture()); drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight()); holder.payname.setCompoundDrawables(null, drawable, null, null);
Android TextView——setCompoundDrawables用法
猜你喜欢
转载自blog.csdn.net/yijiaodingqiankun/article/details/80333782
今日推荐
周排行