This code, copied directly from an example is not loading the dialog. I have same code elsewhere in project and it does work but not here. Any ideas why not? Thanks.
Dim p As B4XView = xui.CreatePanel("") dialog.Initialize(p) Dim height As Int = 200dip p.SetLayoutAnimated(0, 0, 0, 100dip, 100dip) p.Width=100%x p.LoadLayout("serverCard") p.BringToFront dialog.Show("demo","","",""):
Dim p As B4XView = xui.CreatePanel("")
dialog.Initialize(p)
Dim height As Int = 200dip
p.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)
p.Width=100%x
p.LoadLayout("serverCard")
p.BringToFront
dialog.Show("demo","","","")