简体   繁体   中英

Text field hidden while android keyboard open in phonegap

I am facing one big problem in android phonegap application. I have 5 or 6 text filed and 2 drop down field in one single page, if i enter to type in first text filed is scrolling up and also i cant to see want i am typing in this field, in my android key board i click next button and focusing text field is not visible for me some text field only visible. i am using cordova 1.8.0 and jquery mobile1.1.1. in my android manifest file i am using the following line,

android:windowSoftInputMode="stateHidden|adjustResize|adjustPan"

but its not working fine,

Any one can know the reason, any body facing this problem.

I too faced the same issue. In Android manifest file add android:windowSoftInputMode="adjustResize" just remove adjustpan it will work and also use scrolling in that page then on tapping the respective input field virtual keyboard popups and pushes the input field upwards and you can see what you gonna enter in your input field.

Try to set the Android API target lever of the project 13 or higher, not from the Android Manifest file.

In order to set your target: Right-click on the project -> Proprieties -> Android then choose Android which have the "API level" 13 or higher.

if you are planning to use push notification in your application make sure that to choose the "Google APIs" with "API Level" 13 or higher

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