I have an EditText-Object in my Android App where the user can input a "street number". Because street number may also consit of characters, character input should not be disabled at all, rather it numeric input should just be preselected and if the user wants he can also switch to character input. Until now I could not find any combination of Flags using
editText.setInputType(...);
Possible allowed entries in the EditText would be: 23a-26b
This always disallows some other input type, but what I want is just a preselected inputType.
Any ideas?