Enter, enter, and enter on the keyboard. Android keypad is no exception
After you enter it on edittext, you may need to click the next input box to get the focus, or hide the keyboard. In the input box, the keyboard is displayed.
Or you have entered the last line in the input box. after entering the box, you may need to click Login, registration, or link to hide it, which is complicated. The user experience is poor. Is there a solution?
In fact, the Enter key of the Soft Keyboard can be used to solve the above experience problems.
Keyboard, the most common enter key events include:
Set the ime options attribute of edittext to different values. Different texts or patterns can be displayed on the Enter key.
Actionnone: Enter key. Press the button and move the cursor to the next line.
Actionsend: Send
Actionnext: Next
Actiondone: done to hide the keyboard, even if it is not the last text input box
However, the response time of these values may be limited by different software and hardware platforms. However, I didn't try it, but the conditions are limited.