I want to create a new layout when clicking on a button, and use some script to make this new layout exactly like a pre-existing layout in a xml file.
My problem is not to create the base layout but to make it look like the "resource" layout.
Thanks in advance for your help :)