2019-03-22 14:23:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2019-07-30 16:50:50 +00:00
|
|
|
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<item
|
|
|
|
android:id="@+id/enabled"
|
|
|
|
android:drawable="@drawable/ic_camera_enabled"
|
|
|
|
android:state_enabled="true" />
|
|
|
|
<item
|
|
|
|
android:id="@+id/disabled"
|
|
|
|
android:drawable="@drawable/ic_camera_disabled" />
|
|
|
|
|
|
|
|
<transition
|
|
|
|
android:drawable="@drawable/ic_camera_anim_enable"
|
|
|
|
android:fromId="@id/disabled"
|
|
|
|
android:toId="@id/enabled" />
|
|
|
|
<transition
|
|
|
|
android:drawable="@drawable/ic_camera_anim_disable"
|
|
|
|
android:fromId="@+id/enabled"
|
|
|
|
android:toId="@+id/disabled" />
|
|
|
|
</animated-selector>
|