possiedo una app che esegue questo codice del modulo Main
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Main")
Activity.LoadLayout("Main")...