title: How to create fixed footer in android layout?
body: <p>I am using following code to display button at the bottom of activity.</p>
  
  <pre><code>&lt;RelativeLayout 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:layout_alignParentBottom="true" 
          android:layout_centerHorizontal="true" 
           &gt;
      &lt;Button android:id="@+id/btnGetMoreResults"
      android:layout_height="wrap_content" 
      android:layout_width="wrap_content" 
  
           android:text="Get more"
         /&gt;
         &lt;/RelativeLayout&gt; 
  </code></pre>
  
  <p>and listview above it. when i display more data in listview this button pannel is moved down.can any one guide me how can i fix it at the bottom of activity?</p>
  
  <p>any help would be appreciated.  </p>