title: TabHost Tabs Not Populating the ListView
body: <p>I have three tabs and the first one is where the ListView should show up. I wanted to keep my code clean so I structure my app like this: </p>
  
  <p>TabContainer: This contains the tabs and this hosts all the tab items 
  Activity1: ListView activity 
  Activity2: . another activity </p>
  
  <p>The small part of tabContainer looks like this: </p>
  
  <pre><code>   &lt;LinearLayout
                      android:id="@+id/tabVegetables"
                      android:layout_width="fill_parent"
                      android:layout_height="fill_parent"
                      android:orientation="vertical"&gt;
  
                      &lt;include
                          android:id="@+id/vegetable_list"
                          android:layout_width="fill_parent"
                          android:layout_height="match_parent"
                          layout="@layout/activity_vegetable_list" &gt;
                      &lt;/include&gt;
  
  
                      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>As you can see that I am including a layout "activity_vegetable_list" which is where the ListView resides. I put a break point in the onCreate method in the VegetableListActivity and that is never hit. Any ideas why the onCreate method of the VegetableListActivity which is the java class for activity_vegetable_list layout not invoked.</p>
  
  <p><strong>VegetableListActivity.java:</strong></p>
  
  <pre><code> @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_vegetable_list);
  
          // set the title
          setTitle("Vegetable Tree");
          populateVegetables();
  
      }
  </code></pre>
  
  <p>AndroidManifest.xml:</p>
  
  <pre><code> &lt;activity
              android:name="com.example.someapp.app.Activities.TabContainerActivity"
              android:label="@string/title_activity_tab_container" &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;
  </code></pre>