optln
25-01-2012 08:00:59
Hello. I am making some kind of menu system for a project. There's a main menu, and when you press some button on that menu, it changes layout to another menu(like options for example). So what is the correct way to do this? Load all layouts and show-hide them between states, or using unloadLayout and load previously unloaded layouts again if necessary? Or maybe there's another completely different solution? I'm unloading layouts but I think old layouts don't completely destroyed, because I can press those invisible buttons on their positions(and get a crash of course).