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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -