Thanks in advance...
I allow users to drag/drop views onto a RelativeLayout to create 'presentations'. I would ideally like to extract the resulting xml so the presentation can be saved to a fragment or .axml file, and recreated later either on the same device or a different one. I know I can iterate the children and manually create the xml i need, but it seems to me that since it must exist in the layout, that there is a way to extract it. Any ideas are appreciated!
↧
Can I get the XML from a dynamically modified RelativeLayout?
↧