I need to maintain EditText, which can be entered by the user by numbers, in some cases I need to set the text EditTextto something like $ 12. Therefore, I need to be able setText()to everything I want.
I tried setting up an EditText with an input type set to a number that gives a numeric keypad, and also removes InputFilterthat EditText - which still prevents me from putting non-numeric characters
input.setFilters(new InputFilter[] {});
Am I doing something wrong? Is there another way to accomplish my goal, EditText with a numeric keypad, which I can programmatically insert some non-numeric characters into?
source
share