![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
animation
Only鱼籽酱
独立开发者,全栈工程师,写作爱好者,产品设计师。技术研究领域包括Android、iOS、React、NodeJs、Flutter。期望生活、娱乐、产品、技术完美结合。
展开
-
Android postTranslate和preTranslate的理解
matrix.setScale(interpolatedTime, interpolatedTime); matrix.preTranslate(-centerX, -centerY); matrix.postTranslate(centerX, centerY); 经常在中心缩放的应用中看到这段代码. pre转载 2013-01-16 20:46:09 · 1972 阅读 · 0 评论 -
Android Animation
关于动画的实现,Android提供了Animation,在Android SDK介绍了2种Animation模式: 1. Tween Animation:通过对场景里的对象不断做图像变换(平移、缩放、旋转)产生动画效果,即是一种渐变动画; 2. Frame Animation:顺序播放事先做好的图像,是一种画面转换动画。 动画类型 下面先来看看Android提供的动画类型。转载 2013-01-17 18:12:18 · 455 阅读 · 0 评论