<?xml version= "1.0" encoding= "Utf-8"?>
<selector xmlns:android= "Http://schemas.android.com/apk/res/android" >
<!--background picture by default--
<item android:drawable= "@drawable/menu_frame_scale_no_focused"/>
<!--background picture without focus--
<item android:drawable= "@drawable/menu_frame_scale_no_focused" android:state_window_focused= "false"/>
<!--get focus in non-touch mode and click on the background picture--
<item android:drawable= "@drawable/menu_frame_scale_focused" android:state_focused= "true" android:state_pressed = "true"/>
<!--the background picture when clicked in touch mode--
<item android:drawable= "@drawable/menu_frame_scale_focused" android:state_focused= "false" Android:state_ Pressed= "true"/>
<!--picture background When selected--
<item android:drawable= "@drawable/menu_frame_scale_focused" android:state_selected= "true"/>
<!--get focus when the picture background--
<item android:drawable= "@drawable/menu_frame_scale_focused" android:state_focused= "true"/>
</selector>
Android XMl Selector picture background Click and focus get style