Try this
Make drawable folder in resource file
create this XML
You can change it according to your requirements
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true"
android:state_pressed="false"
android:drawable="@drawable/big_box_hover"/>
<item android:state_focused="true"
android:state_pressed="true"
android:drawable="@drawable/big_box_hover" />
<item android:state_focused="false"
android:state_pressed="true"
android:drawable="@drawable/big_box_hover" />
<item android:drawable="@drawable/big_box" />
</selector>
Then
in your layout
you can do this
<Button
android:id="@+id/button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="6dp"
android:layout_marginTop="6dp"
android:descendantFocusability="blocksDescendants"
android:background="@drawable/dashboardbuttonclick"
android:gravity="center_vertical" >