Reputation: 1271
I´m looking for an android:inputType
for an EditText to make sure the user can´t enter any number, but all different kinds of lettres.
I thought, the inputType is the right xml-attribute I have to change, but I can´t find a suitable value. Does anybody have a solution? Does android:digits
help?
Thanks in advance, Jonathan
Upvotes: 1
Views: 1066
Reputation: 46844
You can use an InputFilter to restrict the input in a way that isn't available in inputType
. I think android:digits
is the opposite of what you want.
Upvotes: 3