Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

show textview after request came

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added textview(txtChangeShift) in my xml as below.I need to show that textview after some request came.untill that it must be hide.how to do that ?

 
Maneesh Godbole
Saloon Keeper
Posts: 11329
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't take this the wrong way, but do you even bother to refer to the API before dumping just about every question you have? I notice a pattern with your question
Q: I want to do X/ Is X possible?
A: Yes.
Q: How?

If you are looking for ready made answers, you are in the wrong place.
Try out on your own, show us your code (this does not mean just dumping some layout files), tell us where you are stuck and we will help point you in the right direction.
Please click to read => ShowSomeEffort
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have already tried with tex.setEnabled(false);
but it didn't work.
 
Maneesh Godbole
Saloon Keeper
Posts: 11329
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really? What do you think enable means in the programming context?
Now that you know "it didn't work" did you look for any other method in the API which will let you do what you wish?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still not found Maneesh.
 
Maneesh Godbole
Saloon Keeper
Posts: 11329
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: When something is hidden, it is invisible
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks .its txtView.setVisibility() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic