How do I use InputType=numberDecimal with the “phone” soft keypad?
问题 For an EditText box, the user should only be entering valid numbers, so I am using android:inputType="numberDecimal" . Unfortunately, the soft keyboard that Android brings up has numbers only along the top row, while the next three rows have various other symbols (dollar sign, percent sign, exclamation mark, space, etc). Since the numberDecimal only accepts numbers 0-9, negative sign, and decimal point, it would make more sense to use the "phone" soft keyboard (0-9 in a 3x3 grid, plus some