0
我现在正在做的是一种声波,并做到这一点我已经创建了一个动画增加高度动画提升高度
请看到这张照片
所以我的问题是该动画作品,并但它增加高度我想让它反向增长
希望你能帮助我谢谢
所以我的代码是在这里
<scale
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:fromXScale="1.0"
android:toXScale="1.0"
android:fromYScale="1.0"
android:toYScale="0.5"
android:duration="2000"
android:fillAfter="false"
android:repeatMode="reverse"
android:repeatCount="infinite"/>
Animation animation = AnimationUtils.loadAnimation(context, R.anim.sound_wave);
view.setAnimation(animation);
view.animate();
animation.start();
谢谢主席先生。 这正是我所需要的。 – Beginner