简体   繁体   中英

Why softKeyboardBehavior PAN is not working?

So, I've made an AIR app and put in my manifest

`<softKeyboardBehavior>pan</softKeyboardBehavior>`

I've also put my app into "CPU" mode (and tried "auto" too). But when I click on a textfield, the keyboard is covering it.

Should I do something else in my code to make the app goes up when clicking on a textfield?

android:windowSoftInputMode is used to push the content up when an input appears below the keyboard

try use these codes in your android manfiset:

 <application>
        android:windowSoftInputMode="adjustResize">  or use "adjustPan"
</application>

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