Hi Erel, all.
I have 2 Activity B4XPages and this code.
B4XMainPage:
B4X:
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
'load the layout to Root
'load the layout to Root
Root.LoadLayout("lay_main")...