150fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns<?xml version="1.0" encoding="utf-8"?> 250fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns<!-- Copyright (C) 2010 The Android Open Source Project 350fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns 450fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns Licensed under the Apache License, Version 2.0 (the "License"); 550fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns you may not use this file except in compliance with the License. 650fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns You may obtain a copy of the License at 7ce7bfaab9a56823d1ab897e5b7014e4114ea9babChris Banes 850fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns http://www.apache.org/licenses/LICENSE-2.0 9ce7bfaab9a56823d1ab897e5b7014e4114ea9babChris Banes 1050fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns Unless required by applicable law or agreed to in writing, software 1150fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns distributed under the License is distributed on an "AS IS" BASIS, 1250fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1350fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns See the License for the specific language governing permissions and 1450fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns limitations under the License. 1550fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns--> 1650fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns 1750fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns<selector xmlns:android="http://schemas.android.com/apk/res/android"> 1850fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns 1950fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --> 20ee7c9fb199e9b9af8d40a1f9e27d85465acf8301Chris Banes <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abc_list_selector_disabled_holo_light" /> 21ee7c9fb199e9b9af8d40a1f9e27d85465acf8301Chris Banes <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abc_list_selector_disabled_holo_light" /> 22ee7c9fb199e9b9af8d40a1f9e27d85465acf8301Chris Banes <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/abc_list_selector_background_transition_holo_light" /> 23ee7c9fb199e9b9af8d40a1f9e27d85465acf8301Chris Banes <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/abc_list_selector_background_transition_holo_light" /> 24ee7c9fb199e9b9af8d40a1f9e27d85465acf8301Chris Banes <item android:state_focused="true" android:drawable="@drawable/abc_list_focused_holo" /> 2507a07ce59efb770e9fb9ca53a0133e5e64a63bbcChris Banes <item android:drawable="@android:color/transparent" /> 2650fe5ecda3959f73c9f4399379f60537107bac5fTrevor Johns</selector> 27