Android keyboard change enter key

The solution for me was adding these two lines in the XML of Edittext

android:imeOptions="actionDone"
android:inputType="text"

Thx everyone.


Android have "android:imeOptions" to specify the keyboard action button

1. android:imeOptions="actionGo"
2. android:imeOptions="actionDone"
3. android:imeOptions="actionNext"
4. android:imeOptions="actionPrevious"
5. android:imeOptions="actionSend"

...and more, you can use based on requirement


use this in your xml where you have define your edittext android:imeOptions="actionDone"


Try using android:imeOptions with your EditText in your layout file:

android:imeOptions="actionGo"