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用法
最新推荐文章于 2024-02-02 17:57:10 发布