简体   繁体   中英

Android: Fix soft input keyboard on screen

In an activity can you fix the android keyboard, so that it cannot be closed? I've tried setting the windowSoftInputMode attribute in the AndroidManifest.xml to stateAlwaysVisible, but the keyboard can still be closed. Is what I want possible?

Not really. The keyboard close button is a not really something you can control. I guess you could write your own keyboard and ship that if you really needed to.

Instead of trying to change the OS, why don't you elaborate your question and give some details about Why you need this, maybe we can help you in a more productive manner.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM