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
You will have to write your own KeyListener. You could start by downloading the source of the NumberKeyListener and take it from there.
Martin