The Camera2 example contains the following piece of code. You can see that there are two Root.LoadLayout() sub calls. What's the purpose? if it's not a hidden feature, could someone show me where I can read about the related documentation?
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("1")
Root.LoadLayout("StillPicture")
VideoFileDir = rp.GetSafeDirDefaultExternal("")
VideoFileName = "1.mp4"
cam.Initialize(pnlCamera)
Log(cam.SupportedHardwareLevel)
buttons = Array(btnScene, btnAutoExposure, btnEffects, btnFocus, btnMode)
SetState(False, False, VideoMode)
End Sub