旋转180度后停止
RotateAnimation rotate;
rotate =new RotateAnimation(0f,180f,Animation.RELATIVE_TO_SELF,
0.5f,Animation.RELATIVE_TO_SELF,0.5f);
rotate.setDuration(1000);
rotate.setFillAfter(true);
image.startAnimation(rotate);
持续旋转,不停止
<?xml version="1.0" encoding="utf-8"?>
<set