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.
An improved version, based on CallSubDelayed is available here. This example demonstrates how to work with more than one activity and how to pass information between the activities. In this example we have two activities. One activity is the "main" activity. When the user presses a button a...
As an answer to the thread Forms alike, I thought that the examples below would be of general interest. Attached there are 4 examples with two same layouts but with different managements: - TwoPanelActivity One Activity with 1 Layout with 2 Panels and all views on the panels. All the code is...
An improved version, based on CallSubDelayed is available here. This example demonstrates how to work with more than one activity and how to pass information between the activities. In this example we have two activities. One activity is the "main" activity. When the user presses a button a...
As an answer to the thread Forms alike, I thought that the examples below would be of general interest. Attached there are 4 examples with two same layouts but with different managements: - TwoPanelActivity One Activity with 1 Layout with 2 Panels and all views on the panels. All the code is...