title: editText.setOnEditorActionListener error on developer.android.com
body: <p>I see this code on <a href="http://developer.android.com/guide/topics/ui/controls/text.html" rel="nofollow">developer.android.com</a> for handle the IME_ACTION of the softkeyboard:</p>
  
  <pre><code>EditText editText = (EditText) findViewById(R.id.search);
  editText.setOnEditorActionListener(new OnEditorActionListener() {
      @Override
      public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
          boolean handled = false;
          if (actionId == EditorInfo.IME_ACTION_SEND) {
              sendMessage();
              handled = true;
          }
          return handled;
      }
  });
  </code></pre>
  
  <p>If you see, this code not working because the mehod OnEditorActionListener is for a TextView type...</p>
  
  <p>So, what are the right method to haddling the IME_ACTION of the softkeyboard?</p>