set image to imageview setimageresource null code example
Example: clear imageview android
viewToUse.setImageResource(0);
//or
viewToUse.setImageResource(android.R.color.transparent);
viewToUse.setImageResource(0);
//or
viewToUse.setImageResource(android.R.color.transparent);