+1  A: 

If you make the text box a single line (I believe the propery is called SingleLine in the layout xml files) it will exit out of the keyboard on enter.

Here you go: http://developer.android.com/reference/android/R.styleable.html#TextView_singleLine

Hans
negative. It's still the same problem with android:singleLine="true"
+3  A: 

This should do it:

yourEditTextHere.setOnEditorActionListener(new OnEditorActionListener() {

        @Override
        public boolean onEditorAction(TextView v, int actionId,
                KeyEvent event) {
            if (event != null&& (event.getKeyCode() == KeyEvent.KEYCODE_ENTER)) {
                InputMethodManager in = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
                in.hideSoftInputFromWindow(searchBar
                        .getApplicationWindowToken(),
                        InputMethodManager.HIDE_NOT_ALWAYS);
               userValidateEntry();
            }
            return false;
        }
    });
jqpubliq
Your a genus ! Thanks(Change searchBar buy yourEditTextHere)
Samir