Is it possible to limit the user to type only some characters on the keyboard. However, I should be able to add any disallowed character programmatically.
For instance, The user will be allowed to type only the following digits 'A','B' and 'C'. This can be done from the xml code as follows:
< EditText
...
android:digits="ABC" />
However, I want to be able to add a number in that EditText programmatically. Is this possible in Android?