Setting EditText imeOptions to actionNext has no effect

Solution 1:

Just add android:maxLines="1" & android:inputType="text" to your EditText. It will work!! :)

Solution 2:

singleLine is deprecated. Adding an input type (eg: android:inputType="text") also worked for me.

Use android:maxLines="1" as singleLine is deprecated

Solution 3:

android:singleLine has been deprecated, it is better to combine android:maxLines="1" with android:inputType="text". This would be the code:

<EditText
        android:id="@+id/editText"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" 
        android:maxLines="1"
        android:inputType="text"
        />