android hide element in view code example
Example: hide elements android
//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