<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item  android:drawable="@drawable/shape_switch_track_open"   android:state_checked="true"/>
    <item android:drawable="@drawable/shape_switch_track_close"
        android:state_checked="false"/>
    <item android:drawable="@drawable/shape_switch_track_close"
        />
</selector>