Reviewnow Active Member Licensed User Longtime User Mar 10, 2014 #1 Erel, There are times where I would like to create a layout at runtime Can you add to the XmlLayoutBuilder Dim x As XmlLayoutBuilder 'load the layout x.LoadXmlString(Activity, xmlString) with this as an option I can then use dbutils to dynamic generate forms xml based on an sql statement Thanks
Erel, There are times where I would like to create a layout at runtime Can you add to the XmlLayoutBuilder Dim x As XmlLayoutBuilder 'load the layout x.LoadXmlString(Activity, xmlString) with this as an option I can then use dbutils to dynamic generate forms xml based on an sql statement Thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2014 #2 It is pretty complicated. The standard layout inflater works with resources that were precompiled.
Reviewnow Active Member Licensed User Longtime User Mar 10, 2014 #3 Erel, That's fine would it be possible to say write a file to the layouts folder at runtime? I create my xml output then load the file created if so how to write file to layouts folder? Thanks much for your prompt response
Erel, That's fine would it be possible to say write a file to the layouts folder at runtime? I create my xml output then load the file created if so how to write file to layouts folder? Thanks much for your prompt response
Erel B4X founder Staff member Licensed User Longtime User Mar 11, 2014 #4 This will not help. You need to compile the xml files together with the other resources.