Android 自动弹出输入框

来源:互联网 发布:mac ndk 下载 编辑:程序博客网 时间:2024/06/06 14:13
Timer timer = new Timer();timer.schedule(new TimerTask() {                   public void run() {                       InputMethodManager inputManager =                               (InputMethodManager) edittext.getContext().getSystemService(mContext2.INPUT_METHOD_SERVICE);                       inputManager.showSoftInput(edittext, 0);                   }               },        998);
0 0
原创粉丝点击