Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / drawable / btn_toggle_holo_light.xml
blobd3f101248e07ab5fa7a6944f22aedec622f077de
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2010 The Android Open Source Project
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
8           http://www.apache.org/licenses/LICENSE-2.0
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 -->
17 <selector xmlns:android="http://schemas.android.com/apk/res/android">
18     <item android:state_checked="true"
19         android:state_window_focused="false" android:state_enabled="true"
20         android:drawable="@drawable/btn_toggle_on_normal_holo_light" />
21     <item android:state_checked="true"
22         android:state_window_focused="false" android:state_enabled="false"
23         android:drawable="@drawable/btn_toggle_on_disabled_holo_light" />
24     <item android:state_checked="true" android:state_pressed="true"
25         android:drawable="@drawable/btn_toggle_on_pressed_holo_light" />
26     <item android:state_checked="true"
27         android:state_focused="true" android:state_enabled="true"
28         android:drawable="@drawable/btn_toggle_on_focused_holo_light" />
29     <item android:state_checked="true" android:state_enabled="true"
30         android:drawable="@drawable/btn_toggle_on_normal_holo_light" />
31     <item android:state_checked="true"  android:state_focused="true"
32         android:drawable="@drawable/btn_toggle_on_disabled_focused_holo_light" />
33     <item android:state_checked="true"
34          android:drawable="@drawable/btn_toggle_on_disabled_holo_light" />
36     <item android:state_window_focused="false" android:state_enabled="true"
37         android:drawable="@drawable/btn_toggle_off_normal_holo_light" />
38     <item android:state_window_focused="false" android:state_enabled="false"
39         android:drawable="@drawable/btn_toggle_off_disabled_holo_light" />
40     <item android:state_pressed="true"
41         android:drawable="@drawable/btn_toggle_off_pressed_holo_light" />
42     <item android:state_focused="true" android:state_enabled="true"
43         android:drawable="@drawable/btn_toggle_off_focused_holo_light" />
44     <item android:state_enabled="true"
45         android:drawable="@drawable/btn_toggle_off_normal_holo_light" />
46     <item android:state_focused="true"
47         android:drawable="@drawable/btn_toggle_off_disabled_focused_holo_light" />
48     <item
49          android:drawable="@drawable/btn_toggle_off_disabled_holo_light" />
50 </selector>