• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<set
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:ordering="sequentially" >
19    <set
20        android:ordering="together" >
21        <objectAnimator
22            android:duration="300"
23            android:propertyName="fillColor"
24            android:valueFrom="#000000"
25            android:valueTo="#FBBC04"
26            android:valueType="intType"
27            android:interpolator="@android:interpolator/linear_out_slow_in" />
28        <objectAnimator
29            android:duration="300"
30            android:propertyName="fillAlpha"
31            android:valueFrom="0.07f"
32            android:valueTo="0.65f"
33            android:valueType="floatType" />
34    </set>
35    <set
36        android:ordering="together" >
37        <objectAnimator
38            android:duration="300"
39            android:propertyName="fillColor"
40            android:valueFrom="#FBBC04"
41            android:valueTo="#000000"
42            android:valueType="intType"
43            android:interpolator="@android:interpolator/fast_out_slow_in" />
44        <objectAnimator
45            android:duration="300"
46            android:propertyName="fillAlpha"
47            android:valueFrom="0.65f"
48            android:valueTo="0.07f"
49            android:valueType="floatType" />
50    </set>
51</set>
52