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
e1de6099
Commit
e1de6099
authored
Jan 12, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:hide软键盘
parent
4f1c506f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
InputPassWordActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
+1
-0
VerificationCodeActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
+3
-0
No files found.
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
View file @
e1de6099
...
@@ -180,6 +180,7 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
...
@@ -180,6 +180,7 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
}
}
}
}
login_password
.
setOnClickListener
{
login_password
.
setOnClickListener
{
RxKeyboardTool
.
hideKeyboard
(
this
@InputPassWordActivity
,
login_password
)
//下一步
//下一步
if
(
STATUS_INPUT_PWD
==
codeStatus
)
{
if
(
STATUS_INPUT_PWD
==
codeStatus
)
{
...
...
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
View file @
e1de6099
...
@@ -5,6 +5,7 @@ import android.app.Activity
...
@@ -5,6 +5,7 @@ import android.app.Activity
import
android.content.Context
import
android.content.Context
import
android.content.Intent
import
android.content.Intent
import
android.net.Uri
import
android.net.Uri
import
android.os.Build
import
android.support.v4.content.ContextCompat
import
android.support.v4.content.ContextCompat
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
...
@@ -279,7 +280,9 @@ class VerificationCodeActivity :
...
@@ -279,7 +280,9 @@ class VerificationCodeActivity :
override
fun
verificationErrorCode
()
{
override
fun
verificationErrorCode
()
{
//验证码异常回调
//验证码异常回调
verify_code
.
highlightSingleFieldType
=
HighlightType
.
ALL_FIELDS
verify_code
.
highlightSingleFieldType
=
HighlightType
.
ALL_FIELDS
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
M
)
{
verify_code
.
highlightPaintColor
=
getColor
(
R
.
color
.
user_bgcolorred
)
verify_code
.
highlightPaintColor
=
getColor
(
R
.
color
.
user_bgcolorred
)
}
verify_code
.
invalidate
()
verify_code
.
invalidate
()
dismissProgressDialog
()
dismissProgressDialog
()
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
user_shake_input
)
//加载动画资源文件
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
user_shake_input
)
//加载动画资源文件
...
...
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