list_selector_holo_light.xml revision 2fbf4de64f0ec5052201cea9519c44d5b1789a40
12fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell<?xml version="1.0" encoding="utf-8"?>
22fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell<!-- Copyright (C) 2010 The Android Open Source Project
32fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
42fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     Licensed under the Apache License, Version 2.0 (the "License");
52fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     you may not use this file except in compliance with the License.
62fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     You may obtain a copy of the License at
72fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
82fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell          http://www.apache.org/licenses/LICENSE-2.0
92fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
102fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     Unless required by applicable law or agreed to in writing, software
112fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     distributed under the License is distributed on an "AS IS" BASIS,
122fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
132fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     See the License for the specific language governing permissions and
142fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell     limitations under the License.
152fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell-->
162fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
172fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell<selector xmlns:android="http://schemas.android.com/apk/res/android">
182fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
192fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_window_focused="false" android:drawable="@color/transparent" />
202fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
212fbf4de64f0ec5052201cea9519c44d5b1789a40Adam 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. -->
222fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="true"  android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_disabled_holo_light" />
232fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="true"  android:state_enabled="false"                              android:drawable="@drawable/list_selector_disabled_holo_light" />
242fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="true"                                android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition" />
252fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="false"                               android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition" />
262fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="true"                                                             android:drawable="@drawable/list_selector_focused_holo_light" />
272fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item                                                                                          android:drawable="@drawable/list_selector_focused_holo_light" />
282fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell
292fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell</selector>
30