CurlyPaul CurlyPaul - 1 month ago 14
Android Question

Show the softkeyboard with only alphanumeric keys?

Is it possible?

I would like to show the keyboard with the bare basic alphabetic and numeric buttons, no settings key or smiley key or anything like that, just the letters, numbers, space, done, and shift etc.

I swear I happened to catch an article about how to set the keyboard in this mode months ago, but I can't find it now!

I looked at the possible values for

but I can't see anything that would help. What am I missing?


The software is designed to run on a particular tablet, one that the customers purchase with the software and we control what is installed on it. They currently run Cyanogen 4.2.2 with the standard keyboard.


I think, the only way to achieve what you want it's to create a Custom SoftKeyboard with a custom KeyboardView class.
Here is a tutorial: Custom keyboard and see this SO question: Android app specific soft keyboard especially this answer which links to a open source project.