2011-11-14 29 views

回答

1
your_edit_text.setOnEditorActionListener(new OnEditorActionListener() { 
    @Override 
    public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { 
     // do your stuff here 
     return true; 
    } 
}); 
+0

太感謝你了! – user875139

相關問題