반응형
new Handler().postDelayed(new Runnable(){
public void run(){
**EDITTEXT**.requestFocus();
// 키보드 보이기
InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
// only will trigger it if no physical keyboard is open
mgr.showSoftInput(**EDITTEXT**, 0);
}
}, 200/*딜레이시간*/);
public void run(){
**EDITTEXT**.requestFocus();
// 키보드 보이기
InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
// only will trigger it if no physical keyboard is open
mgr.showSoftInput(**EDITTEXT**, 0);
}
}, 200/*딜레이시간*/);
반응형