android怎么实现一张图片旋转几秒后后自动换到另一张图片

android怎么实现一张图片旋转几秒后后自动换到另一张图片

图片旋转使稿皮用键配差动画,设置动画时间,旋转完成后,设置另一张图片

RotateAnimation 动画,
RotateAnimation (float fromDegrees, float toDegrees, int
pivotXType, float pivotXValue, int pivotYType, float pivotYValue)
参数说明:

float fromDegrees:旋转的开始角度。
float toDegrees:旋转的结束角度。
int
pivotXType:X轴的伸缩模式,可以取值为ABSOLUTE、RELATIVE_TO_SELF、RELATIVE_TO_PARENT。卖并
float
pivotXValue:X坐标的伸缩值。
int
pivotYType:Y轴的伸缩模式,可以取值为ABSOLUTE、RELATIVE_TO_SELF、RELATIVE_TO_PARENT。
float
pivotYValue:Y坐标的伸缩值。
用opengl 实现图片旋转 位移 绽放等问题
达到一定条件时切换张图片
有个幻灯片模式的。能实现你说的功能。
← 上一篇: 下一篇: →