<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/btn_pressed_green_solid" android:state_pressed="true" />
<item android:drawable="@color/btn_pressed_green_solid" android:state_selected="true" />
<item android:drawable="@android:color/transparent" />
</selector>
标签:状态,Android,按下,background,提起 From: https://blog.51cto.com/u_12853553/5896209