How to cancel the enter of EditText?

0

I would like the keyboard not to happen when the user touched the enter was not for the next EditText.

How can I do this?

    
asked by anonymous 17.08.2017 / 20:37

1 answer

4

This code should solve your problem: myEditText.setImeOptions(EditorInfo.IME_ACTION_NONE);

    
22.08.2017 / 16:18