Check out example codes for "hide elements android". It will help you in understanding the concepts better.

Code Example 1

//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

Learn ReactJs, React Native from akashmittal.com