I created a new layout "main" and changed the code to call it. All works fine and the Logs point out that the old layout "layout1" is not used and asks me am I missing a call to Activity.LoadLayout? So I delete the Layout1 from the files. Then when I run the program it hangs up and I get a message that it can't find the Layout1 file. Well it shouldn't be looking for it since the code doesn't call for it and I deleted it in response to the message that it wasn't being used. Is there anyway to change layouts and delete the unused file without the program hanging up?