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
code:-
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
    <shape android:shape="oval">
        <stroke android:color="@color/colorPrimary" android:width="5dp" />
        <solid android:color="@color/colorPrimaryDark"/>
        <size android:width="150dp" android:height="150dp"/>
    </shape>
</item>
 
     
     
    