Sub Class_Globals
Private Root As B4XView
Private xui As XUI
Private Label1 As B4XView
End Sub
Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Label1.As(Label).SizeToFit
End Sub