public void onClickAnimation(final View view) { //属性动画 ObjectAnimator anim=ObjectAnimator
//按照y轴翻转
.ofFloat(view, “rotationY”, 0.0F, 360.0F)
//持续的时间
.setDuration(1000);
anim.start();
android-属性动画1
Author: tea9
Permalink: http://tea9.github.io/post/1356270159.html
License: Copyright (c) 2017-2025 CC-BY-NC-4.0 LICENSE
Slogan: Do you believe in DESTINY?