title: Edit Text focus in android
body: <p>In my application i have edit text as follows.</p>
  
  <pre><code>EditText1   EditText2
  EditText3   EditText4
  EditText5   EditText6
  </code></pre>
  
  <p>in xml i declared <code>android:imeOptions="actionNext"</code> and also i write</p>
  
  <pre><code>          editText1.setOnEditorActionListener(new EditText.OnEditorActionListener() {
          public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
                  // TODO Auto-generated method stub
                   if (actionId == EditorInfo.IME_ACTION_DONE ||   actionId == EditorInfo.IME_ACTION_NEXT) {
                       editText2.requestFocus();
  
                    return false;
                    }
                  return false;
              }
           });
  </code></pre>
  
  <p>Now in virtual key board in edit text 1 if i press next i am getting focus into edit text3 instead of editText2 etc.</p>
  
  <p>How can i get focus on EditText2 instead of edittext3
  for my application user only press "Next or done" he never goes for trackball.</p>