id.addTextChangedListener(textWatcherInput);
pw.addTextChangedListener(textWatcherInput);
pwConfirm.addTextChangedListener(textWatcherInput);
}// onCreate
TextWatcher textWatcherInput = new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start, int before,
int count) {
if (id.isFocused()) {
//to do
}
if (pw.isFocused()) {
//to do
}
if (pwConfirm.isFocused()) {
//to do
}
}
}// textWatcherInput