이 코드를 사용하고 있습니다.
public boolean onKey(View v, int keyCode, KeyEvent event) {
msg = (EditText)findViewById(R.id.msg);
String message = msg.getText().toString();
if(keyCode == 66)
{
//It's hitting here twice.
}
return false;
};
엔터를 눌렀을 때 두 번 치는 이유를 알려주세요.