title: Change soft keyboard 'Next' button on Samsung phone
body: <p>I'm trying to change the soft keyboard 'Go' action on a Samsung S3 &amp; S3 Mini (I think any Samsung) to 'Search' and have it perform certain actions onclick.</p>
  
  <p>I have the following at the moment, which works on non Samsung devices:</p>
  
  <pre><code>searchText.setImeActionLabel("Search",EditorInfo.IME_ACTION_UNSPECIFIED);
  searchText.setOnKeyListener(new View.OnKeyListener() {
      @Override
      public boolean onKey(View v, int keyCode, KeyEvent event) {
          if (keyCode == KeyEvent.KEYCODE_ENTER) {
              startSearch();
              return true;
          }
          return false;
      }
  });
  </code></pre>
  
  <p>Where searchText is my custom editText.</p>
  
  <p>The custom editText has nothing too special in the XML. The following being the relevant parts:</p>
  
  <pre><code>    android:singleLine="true"
      android:imeActionLabel="Go"
  </code></pre>
  
  <p>But Samsung phones insist on having 'Next' and don't run my startSearch() function on click. Is there a way I can make this happen?</p>