by triplem » Wed Jun 11, 2008 9:04 pm
I apologize if this is a stupid question, but how do I set an onFocus event? I'm new to programming with android, and to accustom myself to programming this, I'm making a simple temperature conversion application. Right now i have three edit text fields, one for each temp. scale. I want to have it set so that the other two fields are erased as a user selects one field, preventing them from entering data in more than one field per conversion. Is there some sort of TextView.onFocus(){} thing I can do?
<insert wise comment here>