According to the book "B4A - Rapid Android App Development using BASIC " (P126)
Layout as Overlay
You can also call a second layout from within the first Activity, using Activity.LoadLayout("Layout2"). In this case the second layout will be seen floating above the first. To hide parts of the first, the second must have opaque panels (Alpha set to 255). This might be used to show a menu floating over the main layout.
Elsewhere it also says it also can be done with Panel.LoadLayout("Layout2").
Yet I cannot find any example anywhere of how to reverse this, i.e. turn off the layout once you are done with the second layout. I Know how to achieve this effect by a declaring panel and making it invisible/visible, but how do you do it as described?
Layout as Overlay
You can also call a second layout from within the first Activity, using Activity.LoadLayout("Layout2"). In this case the second layout will be seen floating above the first. To hide parts of the first, the second must have opaque panels (Alpha set to 255). This might be used to show a menu floating over the main layout.
Elsewhere it also says it also can be done with Panel.LoadLayout("Layout2").
Yet I cannot find any example anywhere of how to reverse this, i.e. turn off the layout once you are done with the second layout. I Know how to achieve this effect by a declaring panel and making it invisible/visible, but how do you do it as described?