Hello team,
I am not sure if it is a bug with new b4a beta version (because just updated) but when i added this line in manifest in order IME to work properly:
I have this strange behavior in my smartphone (Pixel 7 Pro - Android 14): when i install a release version of my app, at the first run everything is fine, but at second start if i kill it from recent apps it starts at half screen like the keyboard is open but it is not. If i click at text box in order to show keyboard and if i click back in order to hide it, app does not restored at previous state.
My log after i killed it from recent apps and started again:
For some strange reason if I add adjustResize|stateHidden in manifest, as you see, IME_HeightChanged is called at app start, but i don't know from where.
My manifest:
This behavior does not encountered in emulator (API 35) neither to an older smartphone, just on my pixel.
I have made a research on internet, i saw couple of posts with this behavior but couldn't figure out what does it causing this. link , link
I am not sure if it is a bug with new b4a beta version (because just updated) but when i added this line in manifest in order IME to work properly:
B4X:
SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden)
My log after i killed it from recent apps and started again:
B4X:
** Activity (main) Create (first time) **
*** mainpage: B4XPage_Created
*** mainpage: B4XPage_Appear
** Activity (main) Resume **
*** loginpage: B4XPage_Created [mainpage]
*** mainpage: B4XPage_Disappear [mainpage]
*** loginpage: B4XPage_Appear [mainpage]
*** loginpage: IME_HeightChanged [loginpage]
For some strange reason if I add adjustResize|stateHidden in manifest, as you see, IME_HeightChanged is called at app start, but i don't know from where.
My manifest:
This behavior does not encountered in emulator (API 35) neither to an older smartphone, just on my pixel.
I have made a research on internet, i saw couple of posts with this behavior but couldn't figure out what does it causing this. link , link
Last edited: