I am designing a login page as:
UserName: ..... Password: ..... LoginButton
When the activity starts, I want the focus to go to \"
It has worked for me as follows.
ed1.requestFocus(); return; //Faça um return para retornar o foco