I have two edit text fields on my phone:
'Name:' and 'Phone:'
Whenever I launch my program, my cursor is already in the 'phone' field with the number keyboard pulled up. However, I'd like for it to center on the first editText, 'name', so that the regular keyboard pulls up.
Does anybody know why this is working this way, and how to correct it?
(EditText)txtName = findViewById(R.id.NAME_ID);
txtName.requestFocus();
Do this in your onCreate() after you've inflated your layout