Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android studio visibility

//An ImageButton for example:
ImageButton btn = findViewById(R.id.viewID);

btn.setVisibility(View.INVISIBLE); // or...
btn.setVisibility(View.GONE); // or...
btn.setVisibility(View.VISIBLE);
 
PREVIOUS NEXT
Tagged: #android #studio #visibility
ADD COMMENT
Topic
Name
4+3 =