15d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell<?xml version="1.0" encoding="utf-8"?> 25d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell<!-- Copyright (C) 2010 The Android Open Source Project 35d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell 45d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell Licensed under the Apache License, Version 2.0 (the "License"); 55d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell you may not use this file except in compliance with the License. 65d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell You may obtain a copy of the License at 75d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell 85d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell http://www.apache.org/licenses/LICENSE-2.0 95d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell 105d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell Unless required by applicable law or agreed to in writing, software 115d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell distributed under the License is distributed on an "AS IS" BASIS, 125d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 135d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell See the License for the specific language governing permissions and 145d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell limitations under the License. 155d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell--> 165d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell 176fdab076b75b1ea470a216cba84f1015e77abfd0Dianne Hackborn<selector xmlns:android="http://schemas.android.com/apk/res/android"> 185d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell 195d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --> 205d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_disabled_holo_light" /> 215d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/list_selector_disabled_holo_light" /> 225d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_light" /> 235d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_light" /> 245d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:state_focused="true" android:drawable="@drawable/list_focused_holo" /> 255d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell <item android:drawable="@color/transparent" /> 265d2b178f5c7c2dc68f8a640689abb6745ba35983Adam Powell</selector> 27