Android Question Show / Hide layouts

nibbo

Active Member
Licensed User
Longtime User
Hi All

B4A new boy here.
I have written an app which has two layouts. One is the 'main' layout and the second for 'settings'.
In the activity_create I do a loadlayout of main; the settings layout is invoked by a menu click event which then does a loadlayout of the settings layout. This works OK but the main layout is visible 'through' the settings layout.
Is there a way to hide the main layout, load the settings layout and reverse this actions after the settings screen has been completed?

Many thanks
 
Top