In your EditText
XML properties for EditText
c, add this property to it:
android:imeOptions="actionNext"
This will make it so the bottom right corner of the soft keyboard will be the "Next" button instead of "Done".
Then, set up a listener for when the "Next" button is pressed on the EditText
c.
EditText a = (EditText)findViewById(R.id.a);
EditText c = (EditText)findViewById(R.id.c);
c.setOnEditorActionListener(new OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event)
{
// if the user pressed the "Next" button on the soft keyboard
if(actionId==EditorInfo.IME_ACTION_NEXT)
{
a.requestFocus(); // change the focus to the 'a' EditText
}
return true; // keep the keyboard up
}
});
And that's it.