I’ve a TextView that shows a background image.
I need to show or hide this image depending at a condition (if x=1 show image, else hide image).
I’m using the code:
t1.setBackgroundResource(R.drawable.ficha);
And it shows the image.
But I don’t know how to hide it.
1 Answer