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 :)
Try to consider fragment
A good starting point is a standard project "File>New Project>. In the add activity tab, select tabbed Activity.
You'll find many posts on stackoverflow on that subject .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.