一 . Button文字颜色选择器
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_selected="true" android:color="@color/actionbar_back" />
<item android:state_focused="true" android:color="@color/actionbar_back" />
<item android:state_pressed="true" android:color="@color/actionbar_back" />
<item android:color="@color/list_title" />
</selector>
二 . Button背景选择器
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/know_highlight" android:state_focused="true"></item>
<item android:drawable="@drawable/know_highlight" android:state_pressed="true"></item>
<item android:drawable="@drawable/know"></item>
</selector>
三 . Radiobutton文字颜色选择器
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_checked="false" android:color="@color/search_radio_text"></item>
<item android:state_checked="true" android:color="@color/search_radio_text_check"></item>
</selector>
四 . Radiobutton背景选择器
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_checked="false" android:drawable="@drawable/top_search_bd"></item>
<item android:state_checked="true" android:drawable="@drawable/top_search_bd_check"></item>
</selector>