목록Language/Java (2)
반응형
꿈꾸는 개발자
키보드 나타내기 (Show Keyboard)1. Creating Method public static void showKeyboard(Activity activity) { InputMethodManager imm = (InputMethodManager) activity.getSystemService(Activity.INPUT_METHOD_SERVICE); View view = activity.getCurrentFocus(); if (view != null) { imm.toggleSoftInput(0, InputMethodManager.HIDE_IMPLICIT_ONLY); }} 2. You can use this methodshowKeyboard(this); or Just use the method ((I..
Language/Java
2019. 3. 12. 10:43