Answers for "android studio set visibility code"

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 "android studio set visibility code"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language