How can I change EditText
keyboard enter key like this ?
Simply just pressing shift key will show return/ Enter key at bottom of the keyboard where smiley icon is shown. You can enter into new line. If you do not like this keyboard go for swift keyboard. It has lot of features and mostly used keyboard!
The first is in Settings (tap the three dots when viewing your conversations) > Scroll down to Sending and uncheck Send using Enter. If you're having the smiley issue, keep scrolling down to the bottom and tap Keyboard. In that menu it says Smiley or Enter - make sure yours is set to enter. Hope that helps.
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
The solution for me was adding these two lines in the XML of Edittext
android:imeOptions="actionDone"
android:inputType="text"
Thx everyone.
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With