android:imeOptions="actionDone"
android:inputType과 같이 써야 나오넹...
EditText edt = (EditText)findViewById(R.id.edtBox); edt.setOnEditorActionListener(new OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { Log.d(TAG, " ===== Hello ====="); return false; } });
'Android' 카테고리의 다른 글
Indicator에 메시지 넣기. (0) | 2014.02.06 |
---|---|
include xml (0) | 2013.08.23 |
Activity에 객체 전달하기 (0) | 2013.07.19 |
소프트키보드 보이기/감추기 (0) | 2013.07.19 |
.so 파일 주소 디버깅 (0) | 2012.11.26 |