btn_check_holo_light.xml revision b0b18b8de15931b604c33ca668d215354610c5ae
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<selector xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <!-- Enabled states -->
20        
21    <item android:state_checked="true" android:state_window_focused="false"
22          android:state_enabled="true"
23          android:drawable="@drawable/btn_check_on_holo_light" />
24    <item android:state_checked="false" android:state_window_focused="false"
25          android:state_enabled="true"
26          android:drawable="@drawable/btn_check_off_holo_light" />
27
28    <item android:state_checked="true" android:state_pressed="true"
29          android:state_enabled="true"
30          android:drawable="@drawable/btn_check_on_pressed_holo_light" />
31    <item android:state_checked="false" android:state_pressed="true"
32          android:state_enabled="true"
33          android:drawable="@drawable/btn_check_off_pressed_holo_light" />
34
35    <item android:state_checked="true" android:state_focused="true"
36          android:state_enabled="true"
37          android:drawable="@drawable/btn_check_on_selected_holo_light" />
38    <item android:state_checked="false" android:state_focused="true"
39          android:state_enabled="true"
40          android:drawable="@drawable/btn_check_off_selected_holo_light" />
41
42    <item android:state_checked="false"
43          android:state_enabled="true"
44          android:drawable="@drawable/btn_check_off_holo_light" />
45    <item android:state_checked="true"
46          android:state_enabled="true"
47          android:drawable="@drawable/btn_check_on_holo_light" />
48
49
50    <!-- Disabled states -->
51
52    <item android:state_checked="true" android:state_window_focused="false"
53          android:drawable="@drawable/btn_check_on_disable_holo_light" />
54    <item android:state_checked="false" android:state_window_focused="false"
55          android:drawable="@drawable/btn_check_off_disable_holo_light" />
56
57    <item android:state_checked="true" android:state_focused="true"
58          android:drawable="@drawable/btn_check_on_disable_focused_holo_light" />
59    <item android:state_checked="false" android:state_focused="true"
60          android:drawable="@drawable/btn_check_off_disable_focused_holo_light" />
61
62    <item android:state_checked="false" android:drawable="@drawable/btn_check_off_disable_holo_light" />
63    <item android:state_checked="true" android:drawable="@drawable/btn_check_on_disable_holo_light" />
64
65</selector>
66