Quantcast
Channel: android developer Feed
Viewing all articles
Browse latest Browse all 35

How do you hide an ImageButton in Android?

$
0
0

In order to hide the button, call the setVisible method with either one of two arguments

imageButton.setVisible(View.INVISIBLE)

OR

imageButton.setVisible(View.GONE);


Viewing all articles
Browse latest Browse all 35

Trending Articles