Android Question B4A Pages keyboard handling

epneeh

Member
Licensed User
Longtime User
Hello, im converting my existing app to b4xpages, i found something that makes me frustating, so my app is adding transparent status bar on Main like this
B4X:
Sub Activity_Create(FirstTime As Boolean)
        Dim jo As JavaObject
        Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null)
        window.RunMethod("addFlags", Array(Bit.Or(0x00000200, 0x08000000)))
        Activity.Height = Activity.Height + 24dip
        
        Dim pm As B4XPagesManager
        pm.Initialize(Activity)
End Sub

and i use some reference from this thread and this thread both recomendation is using ime height change event and keyboard height change event is not firing, but when id remove transparent status bar it is working fine, any help, thank you.
 

b4x-de

Active Member
Licensed User
Longtime User
I have found a solution for the issue that Erel refers to some time ago:

 
Upvote 0
Top