| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <animated-selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| <item android:state_enabled="false" android:state_checked="true"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_015" android:tint="?attr/colorControlActivated" android:alpha="?attr/disabledAlpha" /> |
| </item> |
| <item android:state_enabled="false"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_000" android:tint="?attr/colorControlNormal" android:alpha="?attr/disabledAlpha" /> |
| </item> |
| <item android:state_checked="true" android:id="@+id/on"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_015" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:id="@+id/off"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_000" android:tint="?attr/colorControlNormal" /> |
| </item> |
| <transition android:fromId="@+id/off" android:toId="@+id/on"> |
| <animation-list> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_000" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_001" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_002" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_003" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_004" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_005" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_006" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_007" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_008" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_009" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_010" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_011" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_012" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_013" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_014" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_on_mtrl_015" android:tint="?attr/colorControlActivated" /> |
| </item> |
| </animation-list> |
| </transition> |
| <transition android:fromId="@+id/on" android:toId="@+id/off"> |
| <animation-list> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_000" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_001" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_002" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_003" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_004" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_005" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_006" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_007" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_008" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_009" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_010" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_011" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_012" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_013" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_014" android:tint="?attr/colorControlActivated" /> |
| </item> |
| <item android:duration="15"> |
| <bitmap android:src="@drawable/btn_check_to_off_mtrl_015" android:tint="?attr/colorControlActivated" /> |
| </item> |
| </animation-list> |
| </transition> |
| </animated-selector> |
| |