转载自:http://gundumw100.iteye.com/blog/1874545LayoutAnimation干嘛用的?不知道的话网上搜一下。 Android的Animation之LayoutAnimation使用方法有两种用法,我的通常写在代码中,像下面这样: /** ...
分类:
移动开发 时间:
2014-08-12 16:37:54
阅读次数:
413
animator 动画动画的作用是让UI有动感, 看上去时尚。Android中动画分两种方式:一种方式是补间动画Tween Animation,就是说你定义一个开始和结束,中间的部分由程序运算得到。另一种叫逐帧动画Frame Animation,就是说一帧一帧的连起来播放就变成了动画。动画可以实现的...
分类:
其他好文 时间:
2014-08-12 16:33:54
阅读次数:
200
1.首先看效果 2、代码及分析 正 在 加 载 中... ------------------------------------------------------------------------------alternate infinite alternat...
分类:
Web程序 时间:
2014-08-12 16:12:54
阅读次数:
173
原文:弄清 CSS3 的 transition 和 animation弄清 CSS3 的 transition 和 animation
transition
transition 属性是transition-property,transition-duration,transition-timing...
分类:
Web程序 时间:
2014-08-12 10:09:23
阅读次数:
211
View Animation, 即显示在view上的Tween Animation
Tween动画,本质上不改变View的真实位置
两种实现方式,一种在xml中定义,一种直接在代码里定义
xml定义方式:
位移动画translate
<translate xmlns:android="http://schemas.android.com/apk/res/android"
and...
分类:
移动开发 时间:
2014-08-11 21:33:23
阅读次数:
372
android动画学习转载自:http://www.open-open.com/lib/view/open1329994048671.html3.0以前,android支持两种动画模式,tween animation,frame animation,在android3.0中又引入了一个新的动画系统:...
分类:
移动开发 时间:
2014-08-11 20:58:52
阅读次数:
325
mContainer.setPersistentDrawingCache(ViewGroup.PERSISTENT_ANIMATION_CACHE);persistentDrawingCache设置了控件的绘制缓存策略,一共有4中策略:PERSISTENT_NO_CACHE 说明不在内存中保存绘图缓...
分类:
移动开发 时间:
2014-08-11 11:32:42
阅读次数:
202
效果图:Android动画有两类: 1.View Animation(Frame Animation,Tween Animation) 2.Property Animation其中,上述效果是用第二类属性动画做的。什么是属性动画? 通俗的说,属性动画就是在一定的时间内,按照一定的规律来改变对...
分类:
其他好文 时间:
2014-08-10 15:34:00
阅读次数:
487
iOS Core Animation 简明系列教程看到无数的CA教程,都非常的难懂,各种事务各种图层关系看的人头大。自己就想用通俗的语言翻译给大家听,尽可能准确表达,如果哪里有问题,请您指出我会尽快修改。1.什么是Core Animation?它是一套包含图形绘制,投影,动画的OC类集合。它就是一个...
分类:
其他好文 时间:
2014-08-09 23:12:29
阅读次数:
465
Flip Animation for Android:
最近项目中用到了一个小动画,让物体实现一定的3D旋转效果,现记录如下:
public class FlipAnimation extends Animation {
private Camera mCamera;
private View mFromView;
private View mToVi...
分类:
移动开发 时间:
2014-08-09 04:56:27
阅读次数:
281