Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show the numeric keypad

Tags:

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?

like image 392
Mark Worsnop Avatar asked Jan 13 '11 03:01

Mark Worsnop


People also ask

How do I get the numpad on my screen?

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.

How do I open the numpad on my laptop?

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.

Where can you find the numeric keypad?

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.


1 Answers

give android:inputType="number" inside your xml file

Edit: "Number" does not work, changed to "number" (lowercase N)

like image 170
Anju Avatar answered Oct 05 '22 06:10

Anju