http://www.ideasandroid.com/android/sdk/docs/reference/android/view/animation/Animation.html#setRepeatMode(int) 设置重复次数,或者重复模式 public void setRepeatCount (int repeatCount) Since: API Level 1 Sets how many times the animation should be repeated. If the repeat count is 0, the animation is never repeated. If the repeat count is greater than 0 or INFINITE, the repeat mode will be taken into account. The repeat count is 0 by default.Related XML Attributes android:repeatCount Parameters repeatCount the number of times the animation should be repeated public void setRepeatMode (int repeatMode) Since: API Level 1 Defines what this animation should do when it reaches the end. This setting is applied only when the repeat count is either greater than 0 or INFINITE. Defaults to RESTART. Related XML Attributes android:repeatMode Parameters repeatMode RESTART or REVERSE
_aAnimation.setStartTime(1000);
_aAnimation.setDuration(1000);
currentrow.setAnimation(_aAnimation);
这三句 试试
设置重复次数,或者重复模式
public void setRepeatCount (int repeatCount)
Since: API Level 1 Sets how many times the animation should be repeated. If the repeat count is 0, the animation is never repeated. If the repeat count is greater than 0 or INFINITE, the repeat mode will be taken into account. The repeat count is 0 by default.Related XML Attributes
android:repeatCount
Parameters
repeatCount the number of times the animation should be repeated public void setRepeatMode (int repeatMode)
Since: API Level 1 Defines what this animation should do when it reaches the end. This setting is applied only when the repeat count is either greater than 0 or INFINITE. Defaults to RESTART. Related XML Attributes
android:repeatMode
Parameters
repeatMode RESTART or REVERSE