I need to allow the user to choose between two options when he enters a decimal number:
use comma (,) as a separator
use period (.) as a separator
By default, if I use inputType="numberDecimal"in EditTextxml config - EditTextas soon as possible separators and comma digits ( ,).
I tried to use it android:digits="0123456789in my configuration EditText, but with no result - the EditTextwidget shows only numbers and a comma.
I want to have both options ( .and ,) available to the user on the on-screen keyboard when he tries to enter a decimal number.
Could you advise?