Android Question Translating an old app to B4XPages: Problem with Manifest

GuyBooth

Active Member
Licensed User
Longtime User
To handle a keyboard problem with one of the activities in my app, I had the following comment and
statement in the manifest:
B4X:
' To deal with the keyboard concealing the lower part of the preferences screens
SetActivityAttribute(B4XPTMM_Preferences, android:windowSoftInputMode, adjustPan|stateHidden)
B4XPTMM_Preferences was an Activity, but now it is a B4XPages class and the log shows the following error:
B4X:
Error parsing manifest script: Module b4xptmm_preferences not found (Manifest Editor)
How do I handle this? Is there a way to refer to the B4XPages class? Or some other "more modern" solution?
 

GuyBooth

Active Member
Licensed User
Longtime User
SetActivityAttribute(main, android:windowSoftInputMode, adjustPan|stateHidden)
That makes the log error go away ... will see what the effect is on the rest of the app, since originally it only applied to one specific activity.
 
Upvote 0

GuyBooth

Active Member
Licensed User
Longtime User
Just found Erel's notes on this and the events to be added to the other pages. I think this will all work.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…