I have used a bit of Android code to override the \"Done\" button in my EditText field:
myEditField.setOnEditorActionListener(new TextView.OnEditorActionL
You can close the keyboard by doing:
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(getWindowToken(), 0);