public class EditTextShakeHelper
extends java.lang.Object
desc : 输入框震动效果帮助类
author : xuexiang
time : 2018/4/27 下午8:40
| Constructor and Description |
|---|
EditTextShakeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static EditTextShakeHelper |
get()
获取实例
|
EditTextShakeHelper |
setShakeAnimation(android.view.animation.Animation shakeAnimation)
设置震动动画
|
void |
shake(android.widget.EditText... editTexts)
开始震动
|
public static EditTextShakeHelper get()
public EditTextShakeHelper setShakeAnimation(android.view.animation.Animation shakeAnimation)
shakeAnimation - public void shake(android.widget.EditText... editTexts)
editTexts - 震动的输入框