Enter key, enter key, enter the keyboard on the computer to have a variety of responses. Android Soft Keyboard is no exception
After you enter on the EditText, want to enter the box in the next line, you may need to click on the next line of input box, let it get focus, you may want to hide the soft keyboard, click on the input box, pop-up soft keyboard.
or already to the last line input box, after the input is finished, to click Login, registration, or link button, you may want to hide it, feel the operation is cumbersome. User experience is not good, there is no solution?
You can actually use the soft keyboard's enter key to solve the above experience problem.
Soft keyboard, the most commonly used enter key events are:
Set the EditText IME options property to a different value, and you can display different text or patterns on the ENTER key
Actionnone: Enter, press the cursor to the next line
Actionsend:send
Actionnext:next
Actiondone:done, hide soft keyboard, even if not the last text input box
However, these value response times may be subject to different software, hardware platform limitations, but I did not try, limited conditions
Android Soft Keyboard Enter key