title: Android: Tab Content not appearing
body: <p>I have an info tab, which should have a listview, imageview and textview. For some reason the content is not showing.
  Here is the code I use to set the tab up.</p>
  
  <pre><code>tabHost.addTab(tabHost.newTabSpec("tab4")
  
  
      .setContent(R.id.layout_tab_four).setIndicator(tabname4,res.getDrawable(R.drawable.information)));
  </code></pre>
  
  <p>Here is the layout file:</p>
  
  <pre><code>&lt;ViewFlipper android:id="@+id/layout_tab_four"
  
                  android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
  
                  &lt;ImageView android:layout_width="wrap_content" android:id="@+id/infologo"
                      android:layout_alignParentTop="true"
                      android:layout_alignParentLeft="true"
                      android:layout_alignParentRight="true" android:layout_height="wrap_content" /&gt;
                  &lt;ListView android:layout_width="match_parent" android:id="@+id/infolistview"
                      android:layout_height="20dp" android:layout_weight="1"
                      android:layout_alignParentLeft="true" /&gt;
                  &lt;TextView android:layout_width="wrap_content" android:text="General"
                      android:id="@+id/textView1" android:layout_height="wrap_content"
                      android:layout_alignParentLeft="true"
                      android:layout_alignParentRight="true" /&gt;
  
  
  
              &lt;/ViewFlipper&gt;
  </code></pre>
  
  <p>Thanks in advance</p>
  
  <p>EDIT:</p>
  
  <p>List View Code:</p>
  
  <pre><code>infoList = (ListView) findViewById(R.id.infolistview);
  infoListAdapter = new ArrayAdapter(this, R.layout.item,
                  this.fetchInfoList());
          infoList.setAdapter(infoListAdapter);
  </code></pre>
  
  <p>Fetch Info List Method:</p>
  
  <pre><code>public ArrayList&lt;String&gt; fetchInfoList() {
          ArrayList&lt;String&gt; listItems = new ArrayList&lt;String&gt;();
  
  
  
          String listItem9 = "Visit Our Website";
  
  
          listItems.add(listItem9);
  
  
          return listItems;
      }
  </code></pre>