Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c011fd28
Commit
c011fd28
authored
Jan 08, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:验证码错误动画
parent
7f83d7ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
VerificationCodeActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
+3
-2
No files found.
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
View file @
c011fd28
...
...
@@ -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
)
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment