Android: nextFocusForward not working for AutoCompleteTextView

Posted: November 6, 2015 in Android

When you have multiple EditText in a screen, it’s nice to allow users to move to the next EditText when pressing the Next button in keyboard. android:nextFocusForward is the solution, but it may be not working for AutoCompleteTextView.

To fix it, just add the below to AutoCompleteTextView markup in the layout xml

android:imeOptions="actionNext"
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s