Provide a mode attribute in the xml elements.
<Button mode="doShowApply" text="apply"/>
Then pass a list of strings to the parser, like "doShowApply" and others and
then when
parsing the xml determine if the widget should be created or not based on
matching the passed
in strings with the mode.
This will allow the doShowApply to appear in the IDE editor/preview as a toggle
button and
you can then test your dynamic layouts by toggling the different modes.
Original issue reported on code.google.com by mikkel.t...@gmail.com on 28 Jan 2009 at 10:42
Original issue reported on code.google.com by
mikkel.t...@gmail.com
on 28 Jan 2009 at 10:42