Android Question [B4X] [XUI] B4XDialog - Custom dialogs with 100% transparent on background??? and statusbar??

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Even setting the B4XDialog and Panel with transparent and on layout too, this background is showing, look the color of the background, you can see is NOT transparent (is easy to see over the bottom buttons)

B4X:
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, 300dip, 500dip) 'set the content size
p.LoadLayout("layPopLogin")
p.Color = Colors.Transparent
    
Dim pDialogBox As B4XDialog 
pDialogBox.Initialize(pBase)
pDialogBox.BorderColor = Colors.Transparent
pDialogBox.VisibleAnimationDuration = 500

1582535802220.png



another question is:
is possible to dim all screen (INCLUDING STATUS BAR?)
 

Attachments

  • 1582535642061.png
    1582535642061.png
    129.8 KB · Views: 307
Top