2

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

KOTIOS
  • 11,177
  • 3
  • 39
  • 66

1 Answers1

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