android安卓edittext自动弹出数字键盘
et.setFocusable(true);
et.setFocusableInTouchMode(true);
et.setInputType(EditorInfo.TYPE_CLASS_NUMBER);
Timer timer = new Timer();
timer.schedule(new TimerTask()
{
public void run()
{
InputMethodManager inputManager =(InputMethodManager)et.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInput(et, 0);
}
}, 500);
分享题目:android安卓edittext自动弹出数字键盘
路径分享:http://www.jxjierui.cn/article/gjjoci.html


咨询
建站咨询
