Append new item to LinearLayout programmatically?
<p>I'm trying to create something like editable UITableView on iPhone.</p>

<p><img src="http://i.stack.imgur.com/p4Kr0.png" alt="enter image description here"></p>

<p>I added a button to add new items at the end of the list which would be the equivalent of the "+" button on iphone, this takes user to a list of items to add. My problem is that when they select one I don't know how to add it to the list.</p>

<pre><code>    &lt;LinearLayout
            android:key="application_preferences"
            android:title="Applications"&gt;
    &lt;/LinearLayout&gt;
</code></pre>

<p>How can I append a view inside the LinearLayout programatically?</p>
