Skip to content

Commit

Permalink
Update Android动画.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kyze8439690 committed Dec 4, 2014
1 parent c085f84 commit 0e3ae0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Android基础知识/Android动画.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ Android动画

```java
Interpolator //定义了动画的变化速度,可以实现匀速、正加速、负加速、无规则变加速度
AccelerateDecelerateInterpolator//延迟减速,在动作执行到中间的时候才执行该特效
AccelerateInterpolator//会使慢慢以(float)的参数降低速度
LinearInterpolator//平稳不变的
DecelerateInterpolator//在中间加速,两头慢
AccelerateDecelerateInterpolator//先加速后减速
AccelerateInterpolator//逐渐加速
LinearInterpolator//平稳不变的
DecelerateInterpolator//逐渐减速
CycleInterpolator//曲线运动特效,要传递float型的参数。
animation.setInterpolator(new LinearInterpolator());//指定动画的运行效果
```
Expand Down

0 comments on commit 0e3ae0e

Please sign in to comment.