I have a registration form where flow goes as EditText1->EditText2->Spinner->Editext3 ,but on tab press the of EditText2 control is transferred to editText3 and not Spinner How can i do that in android??Can anyone help plz
Asked
Active
Viewed 542 times
1 Answers
1
Use this before your Oncreate()
Spinner spin = (Spinner) findViewById(R.id.spinner1);
spin.setFocusable(true);
spin.setFocusableInTouchMode(true);
spin.requestFocus();

MRX
- 1,400
- 3
- 12
- 32
-
1how can i write the above code before onCreate().?? – KOTIOS Feb 20 '13 at 09:16