Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private xui As XUI
Private xbase As B4XPanel 'at a layout...
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Show
Dim p(10) As B4XView = xui.CreatePanel("")
p(1).SetLayoutAnimated(0, 0, 0,100, 50) 'is that really needed ?
xbase.AddView(p(1), 0, 0,100,50)
'For example let's add one panel... but...