Cannot click tabs after displaying list
<p>When I run my app. I have 4 tabs on the bottom (its the way i created them). Each tab pressed will bring up a list of tran stations etc...( supposed to happen) </p>

<p>Now im just testing tab2 button and it does bring up the list but cannot click on any other tabs. I cannot figure out why. </p>

<p>Here is my code:</p>

<pre><code>//imports removed for brevity

//Second tab activity with the list activity

public class SecondActivity extends ListActivity{
    /** Called when the activity is first created. */

    static final String[] stops = new String[] {
        "Pelham Parkway", "Yankees Stadium"};

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setListAdapter(
            new ArrayAdapter&lt;String&gt;(this, R.layout.tab_test, stops)
        );

        ListView lv = getListView();
        lv.setTextFilterEnabled(true);
        lv.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                    int position, long id) {
                // When clicked, show a toast with the TextView text
                Toast.makeText(getApplicationContext(), 
                    ((TextView) view).getText(),
                    Toast.LENGTH_SHORT).show();
            }
        });
    }  
}
</code></pre>

<p>Tabs code section:</p>

<p>Yes. Here is my code for the tabs. </p>

<pre><code>@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    TabHost tabHost = getTabHost();
    TabHost .TabSpec spec;
    Intent intent;

    intent = new Intent().setClass(this, FirstActivity.class);
    spec = tabHost.newTabSpec("First").setIndicator("First")
                  .setContent(intent);
    tabHost.addTab(spec);
   intent = new Intent().setClass(this, SecondActivity.class);
 spec = tabHost.newTabSpec("Second").setIndicator("Second")
                  .setContent(new Intent(this,SecondActivity.class));
    tabHost.addTab(spec);
    intent = new Intent().setClass(this, ThirdActivity.class);
    spec = tabHost.newTabSpec("Third").setIndicator("Third")
                  .setContent(intent);
    tabHost.addTab(spec);

   intent = new Intent().setClass(this, FourthActivity.class);
   spec = tabHost.newTabSpec("Fourth").setIndicator("Fourth")
                  .setContent(intent);
   tabHost.addTab(spec);
}
</code></pre>

<p>}</p>
