title: Buttons inside TAB not clickable/responding
body: <p>I have done TABS in my app using TabHost.
  one of the tabs has two buttons in it("button","anotherButton")</p>
  
  <p>After I run my app I can see both tabs, but when I press on them nothing happens(they aren't even "clickable" when I press them.) And moreover, they don't respond to any listeners which I add to them.</p>
  
  <p>Some code:</p>
  
  <p>main.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/tabhost" android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
      &lt;LinearLayout android:orientation="vertical"
          android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
          &lt;TabWidget android:id="@android:id/tabs"
              android:layout_width="fill_parent" android:layout_height="wrap_content" /&gt;
          &lt;FrameLayout android:id="@android:id/tabcontent"
              android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
              &lt;AnalogClock android:id="@+id/tab1" android:layout_width="fill_parent"
                  android:layout_height="fill_parent" android:layout_centerHorizontal="true" /&gt;
  
              &lt;LinearLayout android:id="@+id/linearbuttonsview"
                  android:orientation="vertical" android:layout_width="fill_parent"
                  android:layout_height="fill_parent"&gt;
  
  
  ----pay attention here I decalred tab with two buttons !!! -----------------
  
  
                  &lt;Button android:id="@+id/button" android:layout_width="wrap_content"
                      android:onClick="onSemiButtonClick" android:layout_height="wrap_content" android:text="A semi-random button" /&gt;
  
                  &lt;Button android:id="@+id/anotherButton" android:layout_width="wrap_content"
                      android:layout_height="wrap_content" android:text="A semi-semi-random button"
                      android:scrollY="400px" /&gt;
  
  
              &lt;/LinearLayout&gt;
  
  
              &lt;ListView android:id="@+id/tablist" android:layout_width="fill_parent"
  
                  android:layout_height="fill_parent" /&gt;
  
  
  
  
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/TabHost&gt;
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>public class TabDemo extends Activity
  {
      private ListView ls1;
      private Button semiButton;
  
      @Override
      public void onCreate(Bundle icicle)
      {
          super.onCreate(icicle);
          setContentView(R.layout.main);
          ls1 = new ListView(TabDemo.this);
          TabHost tabs = (TabHost) findViewById(R.id.tabhost);
          semiButton = (Button) findViewById(R.id.button);
          semiButton.setOnClickListener(new OnClickListener()
          {
  
              public void onClick(View v)
              {
  
                  int z = 0;
                  z++;
              }
  
          });
  
          tabs.setup();
  
          // tab1
          TabSpec spec = tabs.newTabSpec("tag1");
          spec.setContent(R.id.tab1);
          spec.setIndicator("Clock");
          tabs.addTab(spec);
  
          // tab2
          spec = tabs.newTabSpec("tag2");
          spec.setContent(R.id.linearbuttonsview);
          spec.setIndicator("Button");
          tabs.addTab(spec);
  
          // tab3
          spec = tabs.newTabSpec("tag3");
          spec.setContent(new TabHost.TabContentFactory()
          {
  
              // we create a list view and give it as a reference to the the
              // content
              public View createTabContent(String tag)
  
              {
  
                  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(
                          TabDemo.this, android.R.layout.simple_list_item_1,
                          new String[]
                          { "item1", "item2", "item3" });
  
                  ls1.setAdapter(adapter);
  
                  return ls1;
  
              }
  
          });
          spec.setIndicator("List");
          tabs.addTab(spec);
      }
  }
  </code></pre>