Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #elements #android
ADD COMMENT
Topic
Name
4+3 =