Android keyboard change enter key
10,006
Solution 1
The solution for me was adding these two lines in the XML of Edittext
android:imeOptions="actionDone"
android:inputType="text"
Thx everyone.
Solution 2
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
Solution 3
Try using android:imeOptions with your EditText in your layout file:
android:imeOptions="actionGo"
Solution 4
use this in your xml where you have define your edittext android:imeOptions="actionDone"
Comments
-
Levon Petrosyan almost 2 years
How can I change
EditText
keyboard enter key like this ?