Answers for "what is visibility in android"

4

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);
Posted by: Guest on July-17-2020

Code answers related to "what is visibility in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language