我基本上只是想尽快切换到数字键盘模式有一定的EditText具有焦点。
I just basically want to switch to the number pad mode as soon a certain EditText has the focus.
您可以配置一个inputType为您的EditText:
You can configure an inputType
for your EditText
:
<EditText android:inputType="number" ... />