Commit c011fd28 by 霍志良

feat:验证码错误动画

parent 7f83d7ee
......@@ -8,6 +8,7 @@ import android.net.Uri
import android.support.v4.content.ContextCompat
import android.text.TextUtils
import android.view.View
import android.view.animation.AnimationUtils
import android.view.inputmethod.InputMethodManager
import android.widget.EditText
import com.ydl.ydlcommon.base.BaseMvpActivity
......@@ -281,8 +282,8 @@ class VerificationCodeActivity :
verify_code.highlightPaintColor=getColor(R.color.user_bgcolorred)
verify_code.invalidate()
dismissProgressDialog()
// val shake = AnimationUtils.loadAnimation(this, R.anim.user_shake_input)//加载动画资源文件 
// verify_code.startAnimation(shake)
val shake = AnimationUtils.loadAnimation(this, R.anim.user_shake_input)//加载动画资源文件 
verify_code.startAnimation(shake)
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment