I met a strange issue, when i set a textview visibility as
text.setVisibility(0); I cannot hide this textview. But after i update the code to text.setVisibility(View.INVISIBLE), the textview is hidden…
I have no idea, why this happened….
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You got misconcept I think,
0 stands for VISIBLE..You can check here Developer Doc
So nothing going wrong in your case,Its working properly as per you passed the parameter.