Problem with InputType and imeOptions
Hi, I having some problem when i set InputType in MaskedEditText. It doesn't work. Also, when MaskedEditText is last EditText, i cannot close keyboard. I try to set imeOptions = actionDone but no success. How could i solve this?
Thanks
Hi I don't know why, but developer force-sets the input type to TYPE_TEXT_FLAG_NO_SUGGESTIONS here, during init(); So to solve your problem, you can remove this line from your copy of sources, or set the input type in code, not in XML https://github.com/toshikurauchi/MaskedEditText/blob/master/MaskedEditText/src/br/com/sapereaude/maskedEditText/MaskedEditText.java#L193
I download the source code and make this change and works fine.I also add on setOnEditorActionListener return false when EditorInfo.IME_ACTION_DONE. Thanks @metalurgus