title: How to add a Footer View (TextView) to the end of a ListView?
body: <p>i am trying to make a layout like this:</p>
  
  <pre><code>actionbar   
  ==================== 
  txtViewTitle
  --------------------
  listview item1
  listview item2
  listview item3
  ........scroll scroll scroll
  ...at the end of all the items:
  -----------------
  txtViewFooter
  ==================
  linearlayout of buttons [always visible at the bottom]
  -------------------------------
  </code></pre>
  
  <p>the part between the ==========s should be scrollable</p>
  
  <p>here's my code, it works except for txtViewFooter which is displayed if the list is short enough to accomodate in part of the screen. but not displayed if list is longer and requores scroling</p>
  
  
  
  <pre><code>&lt;RelativeLayout 
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/d_layout"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" &gt;
  
  &lt;TextView
      android:id="@+id/txtViewTitle"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:padding="8dp"
      android:background="#eeeeee"
      android:gravity="center|center"
      android:layout_alignParentTop="true"
      style="?android:listSeparatorTextViewStyle"/&gt;
  
  &lt;View
      android:layout_width="fill_parent"
      android:layout_height="0.1dp"
      android:layout_below="@+id/txtViewTitle"
      android:id="@+id/separator"
      android:visibility="visible"
      android:background="@android:color/darker_gray"/&gt;
  
  &lt;ListView  
  android:layout_height="match_parent"
  android:layout_below="@+id/separator"
  android:id="@+id/my_list" 
  android:listSelector="@android:color/transparent"
  android:smoothScrollbar="true"
  android:layout_width="fill_parent"
  android:background="@android:color/transparent"
      android:textColor="#000000"
      android:dividerHeight="0dp"
      android:cacheColorHint="@android:color/transparent"&gt;
  &lt;/ListView&gt;
  
  &lt;TextView
      android:id="@+id/txtViewFooter"
      android:layout_below="@+id/my_list"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:padding="8dp"
      android:textStyle="italic"
      /&gt;
  
  &lt;View
  android:layout_width="fill_parent"
  android:layout_height="0.1dp"
  android:layout_above="@+id/bottom_menu"
  android:id="@+id/separator2"
  android:visibility="visible"
  android:background="@android:color/darker_gray"/&gt;
  
  &lt;LinearLayout android:id="@+id/bottom_menu"
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content"         
      android:orientation="horizontal" 
      android:layout_alignParentBottom="true"
      android:background="#eeeeee"&gt;
      &lt;include layout="@layout/footer_menu" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>   </p>