Commit 47d0f01a by 霍志良

feat:hide软键盘,hide的位置修改

parent 3f9be8a2
...@@ -131,9 +131,6 @@ class VerificationCodeActivity : ...@@ -131,9 +131,6 @@ class VerificationCodeActivity :
initView() initView()
setClickEvent() setClickEvent()
sendMsgCode() sendMsgCode()
verify_code.postDelayed({
showSoftKeyboardNew(verify_code)
},350)
} }
private fun setWindowStatusBarColor() { private fun setWindowStatusBarColor() {
...@@ -336,6 +333,9 @@ class VerificationCodeActivity : ...@@ -336,6 +333,9 @@ class VerificationCodeActivity :
*/ */
@SuppressLint("SetTextI18n") @SuppressLint("SetTextI18n")
override fun startCountdown(remainTime: Int) { override fun startCountdown(remainTime: Int) {
verify_code.postDelayed({
showSoftKeyboardNew(verify_code)
},300)
tv_countdown_time.isEnabled = false tv_countdown_time.isEnabled = false
tv_countdown_time.setTextColor(ContextCompat.getColor(this, R.color.platform_color_999999)) tv_countdown_time.setTextColor(ContextCompat.getColor(this, R.color.platform_color_999999))
......
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