最近想要做一个动画效果,想使用scale 放大两次,第一次放大比第二次放大的倍数要大。
就像果冻震动的那种效果
android:duration="300"
android:fillBefore="true"
android:fromXScale="1"
android:fromYScale="1"
android:pivotX="50%"
android:pivotY="50%"
android:toXScale="1.2"
android:toYScale="1.2" />
android:duration="300"
android:fillBefore="true"
android:fromXScale="1"
android:fromYScale="1"
android:pivotX="50%"
android:pivotY="50%"
android:startOffset="300"
android:toXScale="1.1"
android:toYScale="1.1" />
可是我做出来的总是很土鳖,一点也不想。求大神指点
你应该使用set动画集合、
可以参考下: http://blog.csdn.net/crazy1235/article/details/50612827
效果需要自己慢慢调了。
动画效果肯定要经过多次的调整才行啊
你说的不像是指不流畅吧,如果想做的逼真一点可以考虑做帧动画,逼真程度与提供的图片数量和单个图片的呈现时间呈正相关
可以考虑用属性动画(Property Animation)实现一下,属性动画更灵活并且功能也更强,只是提示一个思路你可以详细研究一下写个例子试一试
感谢给位的意见,小弟这就去研究下
用Set包起来用就好了!
你应该使用set动画集合、
可以参考下: http://blog.csdn.net/crazy1235/article/details/50612827
效果需要自己慢慢调了。