I read several other posts and using input.setInputType(TYPE_NUMBER_FLAG_DECIMAL); does open the keyboard but its not the numeric keyboard
Is there a trick to this?
Open On-Screen Keyboard by clicking the Start button, clicking All Programs, clicking Accessories, clicking Ease of Access, and then clicking On-Screen Keyboard. Click Options, select the Turn on numeric key pad check box, and then click OK.
To activate the number pad, find the number lock key (usually labeled NumLock, Num Lk, or Num). After locating it, look for the Fn or Alt key. If either the Fn or Alt key's color matches the alternate numbers, press it in conjunction with the number lock key.
Alternatively referred to as the 10-key, number pad, numeric keyboard, numerical keypad, numpad, or ten key, the numeric keypad is a 17-key keypad on the far right side of a PC keyboard.
give android:inputType="number"
inside your xml file
Edit: "Number" does not work, changed to "number" (lowercase N)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With