公告
财富商城
积分规则
提问
发文
2019-06-02 04:32发布
小情绪 Triste *
I want to show this keyboard by default on EditText focus:
These actions didn't help:
inputType=number inputTYpe=phone numeric=integer setRawInputType(...)
How should I do it?
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.
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?
try to use this in java:
editText.setInputType(InputType.TYPE_CLASS_TEXT); editText.setRawInputType(InputType.TYPE_CLASS_NUMBER);
最多设置5个标签!
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.
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?
try to use this in java: