I made a login page... when even i enter the login page then the keyboard always popup to fill in the entry.. i need to control this popup in my mobile. I tried setFocusable(false).. still no use... Can anyone help me in this?
将这一行放在onCreate()
super
之后
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.