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
94d2bc0a
Commit
94d2bc0a
authored
Feb 07, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 身份证输入优化效果优化
parent
94f0b148
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
MedicalAddNewArchivesActivity.kt
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
+3
-1
medical_add_new_archives_activity.xml
m-im/src/main/res/layout/medical_add_new_archives_activity.xml
+1
-1
No files found.
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
View file @
94d2bc0a
...
...
@@ -151,7 +151,7 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
if
(
sLength
>
oldLength
){
val
msp
=
SpannableString
(
s
.
toString
())
msp
.
setSpan
(
AbsoluteSizeSpan
(
18
,
true
),
AbsoluteSizeSpan
(
20
,
true
),
Math
.
max
(
s
.
toString
().
length
-
1
,
0
),
s
.
toString
().
length
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
...
...
@@ -162,6 +162,8 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
var
message
=
Message
()
message
.
what
=
AUTOSIZE
;
mHandler
.
sendMessageDelayed
(
message
,
1000
)
}
else
{
oldLength
=
sLength
}
}
...
...
m-im/src/main/res/layout/medical_add_new_archives_activity.xml
View file @
94d2bc0a
...
...
@@ -102,7 +102,7 @@
<EditText
android:id=
"@+id/et_idcard"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
22dp
"
android:layout_marginTop=
"8dp"
android:digits=
"0123456789xX"
android:inputType=
"number"
...
...
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