I need the user to enter text in a Edit Text with custom keyboard options. That is, I need the keypad to show only "S","A","B","C","D","E" and "F" characters. Is it possible to implement this?
Much easier solution is to add digit parameter in xml definition of EditText like following:
android:digits="SABCDEF"
android:inputType="textNoSuggestions"
Shown keyboard will have all characters but when user try to enter any of not allowed that will be ignored.
Hope this helps
Edit: textNosuggestions to textNoSuggestions
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