How to make circular button in android : <p>I have an app in which i have to make circular button which i successfully made but what i want when i click button then change background drawable but when i do that circular button gets invisible. How do i do that</p>

<p>code:-</p>

<pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;item&gt;
    &lt;shape android:shape="oval"&gt;
        &lt;stroke android:color="@color/colorPrimary" android:width="5dp" /&gt;
        &lt;solid android:color="@color/colorPrimaryDark"/&gt;
        &lt;size android:width="150dp" android:height="150dp"/&gt;
    &lt;/shape&gt;
&lt;/item&gt;
</code></pre>

<p></p>
