How to force keyboard to show only English(UK). I need this because i want to prevent user to enter other languages like Arabic, chines etc., And if user using Arabic keyboard then i need to force my app (keyboard) to use English(UK) keyboard.
kindly help me to achieve this. Thanks in advance.
I think it would be better to filter the input keys. Even if you will be able to force English keyboard that doesn't force users to use only English letters because they can also long press a character or even have a another hardware keyboard (non-english).
So, you should listen to some events
onTextChanged
for example and reject all characters that you do not want to accept.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With