Commit 94f0b148 by 刘鹏

feat : 身份证输入优化

parent 5cd173af
......@@ -148,7 +148,7 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
override fun afterTextChanged(s: Editable?) {
var sLength = s.toString().length;
if(sLength != oldLength){
if(sLength > oldLength){
val msp = SpannableString(s.toString())
msp.setSpan(
AbsoluteSizeSpan(18, true),
......
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