I have a EditText control.
If I tap it the softkeyboard will popup however when I press “enter/ok/return” then the EditText control it still has focus and the keyboard up.
How do I close the softkeyboard and remove focus from it?
I have a EditText control. If I tap it the softkeyboard will popup however
Share
You could try doing
SetFocus()on another element in your layout.If you are talking about the “enter/ok/return” button on the keyboard itself you may have to set up a
KeyListeneron theEditTextcontrol in order to know when toSetFocus()on another element.