imeOptions "actionNext" programmatically - how to jump to next field?
You can use the constants from EditorInfo class for the IME options. like,
editText.setImeOptions(EditorInfo.IME_ACTION_NEXT);
Just suggestion, if you are using
EditTextSample.setImeOptions(EditorInfo.IME_ACTION_DONE);
it doesn't work, make sure that your EditText is using a single line.
Eg:
editTextSample.setSingleLine();
Search for the next focusable field and than invoke requestFocus()
.
TextView nextField = (TextView)currentField.focusSearch(View.FOCUS_RIGHT);
nextField.requestFocus();