问题描述
我只是想在某个 EditText 获得焦点后立即切换到数字键盘模式.
I just basically want to switch to the number pad mode as soon a certain EditText has the focus.
推荐答案
你可以配置一个 inputType 为您的 <代码>编辑文本:
You can configure an inputType for your EditText:
<EditText android:inputType="number" ... />