title: Add a button in bottom of listview when the listview is empty (using ListActivity)
body: <p>I using extends ListActivity to show the empty message when the list are empty.
  Below is my xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" 
      android:orientation="vertical"    &gt;
  
      &lt;ListView android:id="@+id/android:list"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1.0"&gt;
      &lt;/ListView&gt;
  
      &lt;TextView android:id="@android:id/empty"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 android:text="No Items! Please Add!"/&gt; 
  
      &lt;Button
          android:id="@+id/button1"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentRight="true"        
          android:text="Add Item" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>My problem is the button can only appear when there have item in list, but can't appear when the list is empty. How can the button appear when the list are empty?</p>