hide elements android

Java
//in your XML file:
android:visibility="gone" <-- hides

android:visibility="visible" <-- makes it visible

//or in java file:
textView.setVisibility(View.GONE);//makes it disappear

textView.setVisibility(View.VISIBLE);//makes it visible again
Source

Also in Java: