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

Edit Text Background Color

 
david foley
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating an App, which has nine Edit Texts,

what i am hoping to do is if input is Greater then 10 change Edit Text background to Red if Less then 10 Change to Blue, other wise stay the same.

I have Text Watcher set up for my Edit Texts i have also have


double t1 = 0;
t1=Double.parseDouble(T1.getText().toString());

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic