I have a button on my screen and I'm using my own custom XML file to define how this button looks.
The problem I come across is that when this button is pressed, the effect that usually shows the button in a pressed state does not occur.
my XML file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners
android:bottomLeftRadius="7dp"
android:bottomRightRadius="7dp"
android:radius="7dp"
android:topLeftRadius="7dp"
android:topRightRadius="7dp"
/>
<solid
android:color="@color/PaleGoldenrod"/>
</shape>
I'm not very familiar with this and google did not yield results because my question might be vague or I phrased it poorly.