list_selector_holo_dark.xml revision 6fdab076b75b1ea470a216cba84f1015e77abfd0
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
176fdab076b75b1ea470a216cba84f1015e77abfd0Dianne Hackborn<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_dark" />
232fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell    <item android:state_focused="true"  android:state_enabled="false"                              android:drawable="@drawable/list_selector_disabled_holo_dark" />
2450ae1dc3a4ed563ad7ad96adaa0353567474545cAdam Powell    <item android:state_focused="true"                                android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_dark" />
2550ae1dc3a4ed563ad7ad96adaa0353567474545cAdam Powell    <item android:state_focused="false"                               android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_dark" />
2650ae1dc3a4ed563ad7ad96adaa0353567474545cAdam Powell    <item android:state_focused="true"                                                             android:drawable="@drawable/list_focused_holo" />
272fbf4de64f0ec5052201cea9519c44d5b1789a40Adam Powell</selector>
28