Add List iteam
<p>I have made Tab and in one section there is a button. Button's fuction is create another Tab in my layout and this is my code : </p>

<pre><code>public void onClick(View arg0) {
    // TODO Auto-generated method stub
    switch(arg0.getId()){
    case R.id.bAddTab:

        TabSpec ourSpec = th.newTabSpec("tag1");
        ourSpec.setContent(new TabHost.TabContentFactory() {

            @Override
            public View createTabContent(String tag) {
                // TODO Auto-generated method stub

                TextView text = new TextView(Tabs.this);
                text.setText("You have created a new Tab!");
                return (text);
            }
        });
        ourSpec.setIndicator("New");
        th.addTab(ourSpec);
        break;
</code></pre>

<p>Everything so far is good but now I want to make another button which would make in my LinearLayout one List iteam maybe there would be text (I have not decide yet). I have learned to make ListView but how to connect my knowledge to make a button which would make new List iteam..</p>
