How to remove a image in imageview in android and also how to hide the entire image.
Here I have placed an image in imageview by the below code.
answerSt
Try the following code:
ImageView im = (ImageView)findViewById(R.id.imageView1); im.setVisibility(View.INVISIBLE); im.getLayoutParams().height = 0;