vekexasia/android-edittext-validator

requestFocus() doesn't work

Closed this issue · 1 comments

lmbd commented

Hi,
I can't request focus on the FormEditText by adding in the xml.
the programmatically way doesn't work too:
FormEditText form=(FormEditText)findViewById(R.id.editText1);
form.setFocusableInTouchMode(true);
form.requestFocus();

Have you an idea how to fix this? thanks

Hello,

I believe the problem is not in my code. Did you try with a "normal" edittext?