TabHost: One tab of Activity and second of a View
<p>I want to have a <code>TabHost</code> which consists of two tabs: one created from <code>View</code> (<code>R.id.something</code>) and the second one from <code>Activity</code>. </p>

<p>So I do that like this: </p>

<pre><code>mTab = (TabHost) findViewById(R.id.tabhost);
        mTab.setup();
        TabHost.TabSpec spec = mTab.newTabSpec("All");

spec.setContent(R.id.all_tab); // Created from View
        spec.setIndicator("All", getResources().getDrawable(R.drawable.emo_im_cool));
        mTab.addTab(spec);

Intent intent = new Intent().setClass(this, TasksDone.class);
        spec = mTab.newTabSpec("Done");
        spec.setIndicator("Done", getResources().getDrawable(R.drawable.emo_im_happy));
        spec.setContent(intent); // Created from Intent
        mTab.addTab(spec);
</code></pre>

<p>After that the content on the first tab isn't visible, but it's there because I see reaction on my clicks. </p>

<p>But it <strong>appears</strong> if I set the <code>setContent</code> of a second tab as a <code>View</code> instead of <code>intent</code>.</p>

<p>Do you guys know why the content on the first page is invisible?</p>
