title: How to : Press effect on text only icon in ActionBar
body: <p>I have a text only icon in action bar with label name = Cancel. Would like to have my own press effect, on click of cancel button. My objective is to change text color on press of cancel button </p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:id="@+id/cancel"
            android:title="cancel /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>This is how my action bar looks like with the cancel button.</p>
  
  <p>Looks like there is no way to use a selector here.</p>
  
  <p><img src="https://i.stack.imgur.com/rlgej.png" alt="Action bar with cancel button"></p>