dynamically cloning a LinearLayout in android?
<p>Say I have a LinearLayout with some elements in it as an .xml file.
In Java, I need to somehow "clone" it a few times into an array, edit some of its children, and then loop through the array, adding each LinearLayout to my main view.</p>

<p>What do you think would be the correct way to "clone" this layout from an xml file into an array element in java?</p>

<p>Thanks!</p>
