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