title: Android: Hiding the keyboard in an overridden "Done" keypress of EditText
body: <p>I have used a bit of Android code to override the "Done" button in my EditText field:</p>
  
  <pre><code>   myEditField.setOnEditorActionListener(new TextView.OnEditorActionListener() {
          @Override
          public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
              if (actionId == EditorInfo.IME_ACTION_DONE) {
  
                  mySubroutine();
  
                  return true;
              }
              return false;
          }
      });
  </code></pre>
  
  <p>Activating the field calls up the keyboard, and pressing "Done" evaluates mySubroutine() successfully. However, the keyboard no longer goes away when I press "Done". How do I restore this default behaviour to the routine?</p>