Reputation: 1422
I have an EditText
that is to collect input for a basic calculator. I want to bring up the numeric keyboard, and thus I set android:inputType
to numberDecimal|numberSigned
. Problem is, the EditText filters
out all characters that aren't numeric, such as "(", ")", "/", "*"
.
I have tried overriding this behavior by setting a custom Inpu
tFilter which filters nothing out, but it seems to have no affect on the EditText
.
Is there any way for me to display the numeric soft keyboard
without the filtering behavior?
Upvotes: 1
Views: 2070
Reputation: 47514
Not a direct answer, but I believe setting the inputType to the phone one will allow those characters through.
Upvotes: 1