On a new page (many pages actually) in my app, I want the numeric keyboard to be always on, is this possible?, instead of making individual buttons for each number.
Asked
Active
Viewed 440 times
1 Answers
0
You can set it per field, I don't know if you can set it as default though
<EditText android:inputType="number" ... />

Orn Kristjansson
- 3,435
- 4
- 26
- 40
-
I have done that, but I want it to be shown without having to click on an edit text item (textbox). – nh1402 Jul 28 '12 at 18:09
-
2@user1130327 try calling requestFocus() on your EditText inside your onCreate() method. – FoamyGuy Jul 28 '12 at 18:15
-
2@user1130327 also see [This question](http://stackoverflow.com/questions/5593053/open-soft-keyboard-programmatically). The second answer seems to indicate that it will show the soft keyboard upon starting an Activity. – FoamyGuy Jul 28 '12 at 18:17