I try a custompanel with a (XUIViews version 1.70) B4XView to load layout...
but the result is: anywheresoftware.b4a.BALayout{c9d1735 V.E ......... }
the code use:
B4X:
Dim pnl As B4XView = xui.CreatePanel("")
pnl.SetLayoutAnimated(0, 0, 0, 100%x, 300dip) 'set the content size
pnl.LoadLayout("dialog1")
Dialog.PutAtTop = True 'put the dialog at the top of the screen
Dim pnl As B4XView = xui.CreatePanel("")
pnl.SetLayoutAnimated(0, 0, 0, 100%x, 300dip) 'set the content size
pnl.LoadLayout("dialog1")
Dialog.PutAtTop = True 'put the dialog at the top of the screen