public class AnimationUtils
extends java.lang.Object
构造器和说明 |
---|
AnimationUtils() |
限定符和类型 | 方法和说明 |
---|---|
static android.animation.ObjectAnimator |
leftRightShake(android.view.View view)
Shake the view from left to right
|
static android.animation.ObjectAnimator |
wholeShake(android.view.View view) |
static android.animation.ObjectAnimator |
wholeShake(android.view.View view,
float shakeFactor)
Shake the view for whole direction
|
public static android.animation.ObjectAnimator wholeShake(android.view.View view)
view
- ,default shakeFactor=1f
public static android.animation.ObjectAnimator wholeShake(android.view.View view, float shakeFactor)
view
- shakeFactor
- public static android.animation.ObjectAnimator leftRightShake(android.view.View view)
view
-