안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요. 가상 키보드를 화면에 나오게 할때, 한글이 항상 최초로 나오게 하는 방법이 있을까요???
즉 아래 에서 inputManager 에 어떤 설정값을 주면 될듯 한데...
InputMethodManager inputManager = (InputMethodManager) getContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
inputManager.hideSoftInputFromWindow(mSearchText.getWindowToken(), 0);
Setting 에서 언어를 한글로 하는거 말고요..
혹 아시는분 답변 좀 부탁 드립니다.
감사합니다.
즉 아래 에서 inputManager 에 어떤 설정값을 주면 될듯 한데...
InputMethodManager inputManager = (InputMethodManager) getContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
inputManager.hideSoftInputFromWindow(mSearchText.getWindowToken(), 0);
Setting 에서 언어를 한글로 하는거 말고요..
혹 아시는분 답변 좀 부탁 드립니다.
감사합니다.
public void onStartInputView(EditorInfo attribute, boolean restarting) {
super.onStartInputView(attribute, restarting);
// Apply the selected keyboard to the input view.
//초기 자판 설정 및 시작 입력 뷰 메소드
mInputView.setKeyboard(mHangulKeyboard);
mInputView.closing();
//*******************************************
}
질문에 답이 맞는지 모르겠으나 저는 softkeyboard에 한글을 추가하여 mHangulKeyboard 설정하여 초기에 한글자판이 나오도록 하였습니다.