<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2015 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/ic_tvsidepanel_lock_to_on_015" android:tint="?android:attr/colorControlActivated" android:alpha="?android:attr/disabledAlpha" /> </item> <item android:state_enabled="false"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_000" android:tint="?android:attr/colorControlNormal" android:alpha="?android:attr/disabledAlpha" /> </item> <item android:state_checked="true" android:id="@+id/on"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_015" android:tint="?android:attr/colorControlActivated" /> </item> <item android:id="@+id/off"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_000" android:tint="?android:attr/colorControlNormal" /> </item> <transition android:fromId="@+id/off" android:toId="@+id/on"> <animation-list> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_000" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_001" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_002" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_003" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_004" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_005" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_006" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_007" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_008" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_009" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_010" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_011" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_012" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_013" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_014" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_on_015" android:tint="?android: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/ic_tvsidepanel_lock_to_off_000" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_001" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_002" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_003" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_004" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_005" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_006" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_007" android:tint="?android:attr/colorControlActivated" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_008" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_009" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_010" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_011" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_012" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_013" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_014" android:tint="?android:attr/colorControlNormal" /> </item> <item android:duration="15"> <bitmap android:src="@drawable/ic_tvsidepanel_lock_to_off_015" android:tint="?android:attr/colorControlNormal" /> </item> </animation-list> </transition> </animated-selector>