Android keyboard change enter key

Viewed 10896

How can I change EditText keyboard enter key like this ?

enter image description here

4 Answers

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

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

android:imeOptions="actionGo"

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

Related