Android:如何拍出漂亮的心跳动画?

use*_*180 29 xml animation android android-animation objectanimator

这是我的解决方案

动画/ pulse.xml

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
    android:duration="300"
    android:fromXScale="1"
    android:fromYScale="1"
    android:pivotX="50%"
    android:pivotY="50%"
    android:repeatCount="infinite"
    android:repeatMode="reverse"
    android:toXScale="0.75"
    android:toYScale="0.75"
    android:interpolator="@android:interpolator/bounce" />
<scale
    android:duration="100"
    android:fromXScale="1"
    android:fromYScale="1"
    android:pivotX="50%"
    android:pivotY="50%"
    android:repeatCount="infinite"
    android:repeatMode="reverse"
    android:toXScale="1.25"
    android:toYScale="1.25"
    android:interpolator="@android:interpolator/bounce" />
 </set>
Run Code Online (Sandbox Code Playgroud)

然后在activity.java中:

ImageView imageView = (ImageView) findViewById(R.id.image);
imageView.startAnimation(AnimationUtils.loadAnimation(this, R.anim.pulse));
Run Code Online (Sandbox Code Playgroud)

我不满意,因为真正的跳动的心脏有更优雅的收缩.怎么可以改进?

编辑:我认为一个很好的效果会模仿心跳.快速收缩然后是另一个收缩.也许最后一局在上半场可能很快,然后在下半场慢慢逆转.有没有办法让所有这些效果相互引发?