1 control content (such as font color) has different performance colors in different states
Ref:http://developer.android.com/guide/topics/resources/color-list-resource.html
Res/color/radio_state.xml
<?XML version= "1.0" encoding= "Utf-8"?><selectorxmlns:android= "Http://schemas.android.com/apk/res/android" > <ItemAndroid:color= "Hex_color"android:state_pressed=["true"| "false"] android:state_focused=["true"| "false"] android:state_selected=["true"| "false"] android:state_checkable=["true"| "false"] android:state_checked=["true"| "false"] android:state_enabled=["true"| "false"] android:state_window_focused=["true"| "False"]/></selector>
2. Control background (background style and color) different performance results in different states:
Ref:http://developer.android.com/guide/topics/resources/drawable-resource.html
Res/drawable/radio_state.xml
<?XML version= "1.0" encoding= "Utf-8"?><selectorxmlns:android= "Http://schemas.android.com/apk/res/android"android:constantsize=["true"| "false"] Android:dither=["true"| "false"] android:variablepadding=["true"| "False"]> <Itemandroid:drawable= "@[package:]drawable/drawable_resource"android:state_pressed=["true"| "false"] android:state_focused=["true"| "false"] android:state_hovered=["true"| "false"] android:state_selected=["true"| "false"] android:state_checkable=["true"| "false"] android:state_checked=["true"| "false"] android:state_enabled=["true"| "false"] android:state_activated=["true"| "false"] android:state_window_focused=["true"| "False"]/></selector>
Content styles and background styles for Android controls in different states