Stackoverflow上查了下怎么實現EditText在獲取焦點后自動彈出軟鍵盤的問題。投票最高的方法是這樣的:
EditText editText = (EditText) findViewById(R.id.myTextViewId);
editText.requestFocus();InputMethodManager imm = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT);
不過在我制作的Activity下