noteContentTv.setFocusable(true);
noteContentTv.requestFocus();
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS);
/*设置光标位置*/
noteContentTv.setSelection(noteContentTv.getText().length());
网友评论