Home | History | Annotate | Download | only in anim
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright (C) 2014 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <set xmlns:android="http://schemas.android.com/apk/res/android" >
     19 
     20     <objectAnimator
     21         android:duration="8000"
     22         android:interpolator="@interpolator/custom_path_interpolator_favorite"
     23         android:propertyName="pathData"
     24         android:repeatCount="-1"
     25         android:valueFrom="@string/round_box"
     26         android:valueTo="@string/heart"
     27         android:valueType="pathType" />
     28     <objectAnimator
     29         android:duration="8000"
     30         android:propertyName="fillAlpha"
     31         android:repeatCount="-1"
     32         android:valueFrom="1.0"
     33         android:valueTo="0.0" />
     34     <objectAnimator
     35         android:duration="8000"
     36         android:propertyName="strokeAlpha"
     37         android:repeatCount="-1"
     38         android:valueFrom="1.0"
     39         android:valueTo="0.0" />
     40     <objectAnimator
     41         android:duration="8000"
     42         android:propertyName="strokeColor"
     43         android:repeatCount="-1"
     44         android:valueFrom="#FF0000FF"
     45         android:valueTo="#FF00FF00" />
     46     <objectAnimator
     47         android:duration="8000"
     48         android:propertyName="strokeWidth"
     49         android:repeatCount="-1"
     50         android:valueFrom="5"
     51         android:valueTo="20" />
     52     <objectAnimator
     53         android:duration="8000"
     54         android:propertyName="fillColor"
     55         android:repeatCount="-1"
     56         android:valueFrom="#FFFF0000"
     57         android:valueTo="#FF00FF00" />
     58 
     59 </set>