title: Android app - basic icon button without text
body: <p>How do I make a basic icon button without text or background? For example, just a simple vector image from @drawables that, when clicked, shows that circular response thing around it. I don't want the icon to have any background color to it. Just an icon that can be clicked, that's literally it.</p>
  <p>I can only figure out how to do it by creating a <code>menu</code> and setting the icon as an <code>item</code> with <code>app:showAsAction=&quot;always&quot;</code>. It seems like there must be a better way to do this.</p>
  <p>Edit: Here's an example of what I want to achieve. It's very basic. Just a clickable icon with responsive feedback when touched. <a href="https://material-ui.com/components/buttons/#icon-buttons" rel="nofollow noreferrer">https://material-ui.com/components/buttons/#icon-buttons</a></p>
  <p>It's exactly the same as creating the following. I just thought there was likely an easier way to do this without having to create and load a menu just for one single icon:</p>
  <pre><code>&lt;menu xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      tools:context=&quot;com.mycompany.myapp.MainActivity&quot;&gt;
  
      &lt;item
          android:id=&quot;@+id/action_contacts&quot;
          android:icon=&quot;@drawable/ic_contacts_24&quot;
          android:title=&quot;@string/action_contacts&quot;
          app:iconTint=&quot;@android:color/white&quot;
          app:showAsAction=&quot;always&quot; /&gt;
  
  &lt;/menu&gt;
  </code></pre>