I tried using this code for Transparent StatusBar that I learned from This Post On B4XPages for my new project :
But I ended up facing this White Space in bottom of the Page.
I'm new to B4XPages so I would appreciate any solution.
B4X:
Dim ph As Phone
If ph.SdkVersion >= 4.4 Then
Dim jo As JavaObject
Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null)
window.RunMethod("addFlags", Array(Bit.Or(0x00000200, 0x08000000)))
Root.Height = Root.Height +80dip
End If
Dim pnl As Panel
pnl.Initialize("")
pnl.Color = Colors.Transparent
Root.AddView(pnl, 0, Root.Height + 24dip, 100%x, 80dip)
I'm new to B4XPages so I would appreciate any solution.