I have a button.I am using xml for this button.
Xml:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@color/shareButtonBgClickedColor" />
<item android:drawable="@color/shareButtonBgColor" >
<shape>
<corners
android:bottomLeftRadius="13dp"
android:bottomRightRadius="13dp"
android:topLeftRadius="13dp"
android:topRightRadius="13dp" />
</shape>
</item>
</selector>
It reads background color but doesn't read border radius.How can I fix it ?