As discussed in this thread, I would like an EditText option to force the numeric/calculator keyboard but allow multiple decimal points to be entered. This would be ideal for when a user needs to enter an IP address.
The current options do not allow this:
INPUT_TYPE_TEXT allows multiple decimal points but shows the full (alpha) keyboard, which isn't an ideal keyboard to present to the user if they are to only enter numbers.
INPUT_TYPE_NUMBERS shows the numeric/calculator keyboard but will not allow the user to enter any decimal points.
INPUT_TYPE_DECIMAL_NUMBERS is close but it will not allow more than one period (decimal point) to be entered.
Thanks for your consideration!
The current options do not allow this:
INPUT_TYPE_TEXT allows multiple decimal points but shows the full (alpha) keyboard, which isn't an ideal keyboard to present to the user if they are to only enter numbers.
INPUT_TYPE_NUMBERS shows the numeric/calculator keyboard but will not allow the user to enter any decimal points.
INPUT_TYPE_DECIMAL_NUMBERS is close but it will not allow more than one period (decimal point) to be entered.
Thanks for your consideration!