Drawable drawable = mContext.getResources().getDrawable(R.drawable.duringtime); drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());//必须设置图片大小,否则不显示 holder.time.setCompoundDrawables(drawable, null, null, null);
版权声明:本文博客原创文章,博客,未经同意,不得转载。
转载于:https://www.cnblogs.com/bhlsheji/p/4733615.html
相关资源:数据结构—成绩单生成器