网上搜了一堆都是肥话
rotateAnimation.setRepeatCount(Animation.INFINITE); rotateAnimation.setRepeatMode(Animation.REVERSE);
Repeat : 重复 count : 次数 infinite:无限 reverse : 反向
这两个属性设置完 就能一直走了
rotateAnimation.setRepeatCount(Animation.INFINITE); rotateAnimation.setRepeatMode(Animation.REVERSE);
这两个属性设置完 就能一直走了