Gurpreet Singh | 7138788 | 2023-01-09 19:07:43 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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_dark" /> |
| 24 | <item android:state_checked="false" android:state_window_focused="false" |
| 25 | android:state_enabled="true" |
| 26 | android:drawable="@drawable/btn_check_off_holo_dark" /> |
| 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_dark" /> |
| 31 | <item android:state_checked="false" android:state_pressed="true" |
| 32 | android:state_enabled="true" |
| 33 | android:drawable="@drawable/btn_check_off_pressed_holo_dark" /> |
| 34 | |
| 35 | <item android:state_checked="true" android:state_focused="true" |
| 36 | android:state_enabled="true" |
| 37 | android:drawable="@drawable/btn_check_on_focused_holo_dark" /> |
| 38 | <item android:state_checked="false" android:state_focused="true" |
| 39 | android:state_enabled="true" |
| 40 | android:drawable="@drawable/btn_check_off_focused_holo_dark" /> |
| 41 | |
| 42 | <item android:state_checked="false" |
| 43 | android:state_enabled="true" |
| 44 | android:drawable="@drawable/btn_check_off_holo_dark" /> |
| 45 | <item android:state_checked="true" |
| 46 | android:state_enabled="true" |
| 47 | android:drawable="@drawable/btn_check_on_holo_dark" /> |
| 48 | |
| 49 | |
| 50 | <!-- Disabled states --> |
| 51 | |
| 52 | <item android:state_checked="true" android:state_window_focused="false" |
| 53 | android:drawable="@drawable/btn_check_on_disabled_holo_dark" /> |
| 54 | <item android:state_checked="false" android:state_window_focused="false" |
| 55 | android:drawable="@drawable/btn_check_off_disabled_holo_dark" /> |
| 56 | |
| 57 | <item android:state_checked="true" android:state_focused="true" |
| 58 | android:drawable="@drawable/btn_check_on_disabled_focused_holo_dark" /> |
| 59 | <item android:state_checked="false" android:state_focused="true" |
| 60 | android:drawable="@drawable/btn_check_off_disabled_focused_holo_dark" /> |
| 61 | |
| 62 | <item android:state_checked="false" android:drawable="@drawable/btn_check_off_disabled_holo_dark" /> |
| 63 | <item android:state_checked="true" android:drawable="@drawable/btn_check_on_disabled_holo_dark" /> |
| 64 | |
| 65 | </selector> |