I think it would be better to filter out the input keys. Even if you can force the English keyboard to not force users to use only English letters, because they can also press a character for a long time or even have a different hardware keyboard (not English).
So, you should listen to a few events
onTextChanged
, for example, and reject all characters that you do not want to accept.
source
share