android - How to set visibility of TextView? -


i want check! example - if (tv.visible == true) showmessage ("yee it's visible") else ("its not visible"); hope you're understand!

you provide little information, think after...

textview tv = (textview)findviewbyid(r.id.textview); tv.setvisibility(view.invisible); 

you need adjust id own.

edit: can check see if textview invisible by:

if (tv.getvisibility() == view.invisible) {     // something. } 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -