摘要:
代码设置ImageView的src:setImageDrawable(Drawable drawable);setImageBitmap(Bitmap bm);setImageResource(int resId);代码设置ImageView的background: setBackgroundReource(int resid)setBackground(Drawable background)setBackgroundColor(int color)setBackgroundDrawable(Drawable background) //This method was deprecated 阅读全文