<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:drawable="@color/press"/> <item android:state_pressed="true" android:drawable="@color/blue" /> <item android:drawable="@drawable/clearbg" /> </selector>