Tab Layout example from Android Dev site
<p>I'm trying to do this tab view example from <a href="http://developer.android.com/resources/tutorials/views/hello-tabwidget.html" rel="nofollow">Android Examples</a>, it works fine but I don't see the text (This is the ArtistsTab) in each tab that is set using the TextView. Not sure what I'm doing wrong.
Below are the main contents of my manifest file</p>

<pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
    &lt;activity android:name=".HelloTabWidget"
              android:theme="@android:style/Theme.NoTitleBar"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity android:name=".ArtistsActivity"&gt;&lt;/activity&gt;
    &lt;activity android:name=".AlbumsActivity" &gt;&lt;/activity&gt;
    &lt;activity android:name=".SongsActivity"&gt;&lt;/activity&gt;
&lt;/application&gt;
</code></pre>

<p>Below is the content of OnCreate() method of the ArtistsActivity class</p>

<pre><code>public void OnCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        TextView textView = new TextView(this);
        textView.setText("Artists Tab");
        setContentView(textView);
    }
</code></pre>

<p>Thanks </p>
