使用动画移动View
使用ObjectAnimator改变View位置
moveBtn.setOnClickListener {
ObjectAnimator.ofFloat(tvShow, "translationX", 400f)
.apply {
duration = 2000
start()
}
}
添加弯曲动作
使用PathInterpolator

Last updated