So basically, if the user doesn't use this edittext, then the default value stays at zero. But if they want to type something in, the zero disappears as soon as they start typing.
I have tried using:
To achieve that I would do this: Keep the hint attribute for ui and maintain the default value programmatically:
if(editText.getText().toString().isEmpty()) //set the value as zero