Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Edit Text Background Color  RSS feed

 
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());

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!