旋转动画
来源:互联网 发布:哪款root软件最好 编辑:程序博客网 时间:2024/04/29 17:55
private RotateAnimation reverseAnimation; //旋转动画
animation = new RotateAnimation(0, -180,
RotateAnimation.RELATIVE_TO_SELF, 0.5f,
RotateAnimation.RELATIVE_TO_SELF, 0.5f);
animation.setInterpolator(new LinearInterpolator());
animation.setDuration(250);
animation.setFillAfter(true);
reverseAnimation = new RotateAnimation(-180, 0,
RotateAnimation.RELATIVE_TO_SELF, 0.5f,
RotateAnimation.RELATIVE_TO_SELF, 0.5f);
//动画速度
reverseAnimation.setInterpolator(new LinearInterpolator());
//持续时间
reverseAnimation.setDuration(200);
reverseAnimation.setFillAfter(true); //保留在终止位置
private ImageView arrowImageView;
arrowImageView.clearAnimation();
arrowImageView = (ImageView) headView.findViewById(R.id.head_arrowImageView);
arrowImageView.setMinimumWidth(70);
arrowImageView.setMinimumHeight(50);
arrowImageView.startAnimation(animation);
- 旋转动画
- 旋转动画
- 动画旋转
- 旋转动画
- 旋转动画
- 旋转动画
- 旋转动画
- 旋转动画
- 旋转动画
- 旋转动画
- 动画之旋转动画
- 旋转动画加载, 旋转角度
- Android 动画 - RoateAnimation 旋转动画
- Android动画之旋转动画
- 相机旋转动画
- custom ProgressBar|动画 旋转
- blend 动画旋转
- Jquery旋转动画实现
- CF 75E 题解 Ship's Shortest Path
- PendingIntent
- three.js 源码注释(二十八)Cameras/Camera.js
- Single Number
- fusionchart使用说明
- 旋转动画
- 将scl分频
- Extjs GRID操作文档
- Eclipse上搭建SSH(struts-2.2.3 + spring-2.5.6 + hibernate-3.6.8)框架-附源码
- Java基础知识思维导图
- three.js 源码注释(二十九)Cameras/OrthographicCamera.js
- 关于AppendFormat("{0:X2}")
- 在Ubuntu OS上怎么本地化一个QML应用
- JDOM的基本使用