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
You can set the visibility of an image with the following method calls:
answerState1.setVisibility(View.GONE); // hide image (make the view gone)
answerState1.setVisibility(View.VISIBLE); // make image visible
answerState1.setVisibility(View.INVISIBLE); // make image invisible
In UI, you can also do something like the following: