imageview.setBackgroundReource(int resid)
imageview.setBackground(Drawable background)
imageview.setBackgroundColor(int color)
imageview.setBackgroundDrawable(Drawable background) //This method was deprecated in API level 16. use setBackground(Drawable) instead