I have an EditText field with inputType numberDecimal. I found the field in my code:
EditText mField = (EditText) v.findViewById(R.id.fieldName);
I want to set this field value before rendering. I tried to setText(), application crashed because I can't set string value on a field of type numberDecimal.
Edit: I need an input field with KeyListener contains only numbers and dot, also I want to can pass default double/float/int value.
Answer: I was using wrong field id.