hide elements android

Solutions on MaxInterview for hide elements android by the best coders in the world

showing results for - "hide elements android"
Gabriel
01 Mar 2019
1//in your XML file:
2android:visibility="gone" <-- hides
3
4android:visibility="visible" <-- makes it visible
5
6//or in java file:
7textView.setVisibility(View.GONE);//makes it disappear
8
9textView.setVisibility(View.VISIBLE);//makes it visible again