키보드 숨기기
-
소프트 키보드 보이기/숨기기안드로이드/Tip 2011. 5. 30. 10:47
//보이기 [java] EditText editText = (EditText) findViewById(R.id.myEdit); InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); // only will trigger it if no physical keyboard is open mgr.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT); [/java] And to hide: //숨기기 [java] InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_MET..