try to use this in java:
editText.setInputType(InputType.TYPE_CLASS_TEXT);
editText.setRawInputType(InputType.TYPE_CLASS_NUMBER);
That old problem still not solved. There's no way to show numeric keyboard with option of switching back.
This question discussed here Is there a way to show the numbers first on the soft keyboard for Android?
There's no way to achieve this. Even if your input method includes such a key panel, it's up to the keyboard "author". More importantly, the "even if" is even not guaranteed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.