Android Question How to load a second layout properly

saeed10051

Active Member
Licensed User
Longtime User
I have created 2 layouts namely 1 and 2 in B4A and there is a button on my first layout which when i click i run following code
Activity.loadlayout("2")
on running it the second layout loads but the problem is that the first layout also remains in the background and some of the buttons and views in layout 1 are still visible.
I have tried to checked to see if there is an option to hide parent layout while uploading a second layout but couldnt find any such option.
 

DonManfred

Expert
Licensed User
Longtime User
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
This one could be useful too:
Your case would be "TwoPanelLayouts"

 
Upvote 0

saeed10051

Active Member
Licensed User
Longtime User
Thanks DonManfred, good reference that you have given.
 
Upvote 0

saeed10051

Active Member
Licensed User
Longtime User
This one could be useful too:
Your case would be "TwoPanelLayouts"

Thanks Jose
 
Upvote 0
Top