Re: [android-developers] How can i set text in EditText

2010-10-14 Thread Kostya Vasilyev
It looks like you're using the edit control for both: displaying prompts and getting the value. An easy fix is to only use the edit control for getting the value, and display prompts some other way: by using a toast or a separate TextView next to the EditControl. -- Kostya 14.10.2010

[android-developers] How can i set text in EditText

2010-10-13 Thread chcat
Hi all, I am trying to implement simple user input validation in EditText, something like setText(type your password:) ... if ( user input != secretword) setText(incorrect, try again: ) So i am using onTextChanged to validate keyboard input, but how can i set the text without going to infinite