E ELVESIS Member Licensed User Longtime User Jan 16, 2011 #1 How do I clear screen before new loadlayout ? Because when I call the loadlayout("Settings") event , then overlap MAIN and SETTINGS layouts...!!!
How do I clear screen before new loadlayout ? Because when I call the loadlayout("Settings") event , then overlap MAIN and SETTINGS layouts...!!!
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2011 #2 The recommended way is to load your layout to a panel and add the panel to the activity. Later you can remove the panel (with Panel.RemoveView) and add a new one with a new layout. See this for example: http://www.b4x.com/forum/basic4android-updates-questions/6993-how-do-i-unload-layout.html#post40268 Upvote 0
The recommended way is to load your layout to a panel and add the panel to the activity. Later you can remove the panel (with Panel.RemoveView) and add a new one with a new layout. See this for example: http://www.b4x.com/forum/basic4android-updates-questions/6993-how-do-i-unload-layout.html#post40268
K kurng Member Licensed User Longtime User Nov 3, 2012 #4 i have same problem i try as Erel say but it can't pass pl help thank Upvote 0
klaus Expert Licensed User Longtime User Nov 3, 2012 #5 You must show your code or post your project as a zip file (IDE menu Files / Export As Zip). Without seeing what you have done it's impossible to help you. Best regards. Upvote 0
You must show your code or post your project as a zip file (IDE menu Files / Export As Zip). Without seeing what you have done it's impossible to help you. Best regards.