I have set input type to be numberdecimal but also want to populate the editText with a \"-\" programmatically. I can add the text but then I am unable to edit the text as it do
I managed to do that with:
android:inputType="number|numberSigned" android:digits="0123456789-"