Answers for "android:visibility android studio"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language