优化了键盘操作

This commit is contained in:
zxj
2025-07-25 15:58:11 +08:00
parent c2bae2f3e8
commit c0a628c51f
5 changed files with 11 additions and 6 deletions
@@ -17,9 +17,6 @@ class LoginByPwdActivity : BaseActivity<ActivityLoginByPwdBinding>() {
}
override fun initialize() {
binding.etPhone.setOnFocusChangeListener { v, hasFocus ->
if (hasFocus) KeyboardUtils.showKeyboard(v)
}
binding.btnLogin.setOnClickListener {
val phone = binding.etPhone.text.toString()
val pwd = binding.etPwd.text.toString()