if method setMaxSize(1) is called, tactile keypad only inputs first character .e.g. can only write A in "ABC or D in "DEF" etc any ideas on how to solve this
Asked
Active
Viewed 332 times
1 Answers
3
Interesting. I haven't tried this myself but I can see why this would fail.
I doubt whether there is a simple solution for this other that overriding the text field input and implementing the single character behavior yourself. Just set the max length to 2 and override the insertChar
method by invoking super.setText()
with the given char.

Shai Almog
- 51,749
- 5
- 35
- 65