title: How to use value of imeactionId
body: <p>I am trying to set my own value to <code>imeActionId</code> and then comparing the same to the <code>actionId</code> in the <code>onEditorAction</code>. But the <code>actionId</code> in the method repeatedly returns 0.</p>
  
  <pre><code>&lt;EditText
          android:id="@+id/editText2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:ems="10"
          android:inputType="text|textUri"
          android:imeOptions="actionGo"
          android:imeActionId="666" 
          android:imeActionLabel="google"/&gt;
  </code></pre>
  
  <p>And the following is my <code>onEditorAction</code>:</p>
  
  <pre><code>et.setOnEditorActionListener(new OnEditorActionListener() {
  
      @Override
      public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
          // TODO Auto-generated method stub
          Log.v("myid iss", "" + actionId);
  
          if(actionId == 666)
          {
              Intent i = new Intent(Intent.ACTION_VIEW);
              i.setData(Uri.parse("http://" + v.getText().toString()));
  
              imm.hideSoftInputFromInputMethod(v.getWindowToken(), InputMethodManager.HIDE_IMPLICIT_ONLY);
              startActivity(i);
          }
          return false;
      }
  });
  </code></pre>
  
  <p>The <code>actionId</code> is coming to be 0 every time irrespective of the value in the XML.
  How do I use my defined <code>imeActionId</code> to compare with <code>actionId</code>.</p>