title: Positioning ListViews inside FrameLayout
body: <p>So I'm trying to create a screen which has a ListView and over that I need to be able to float another custom horizontal ListView, right at the bottom edge of the screen. When the user scrolls on the vertical listview, the horizontal one would go invisible and reappear when the scrolling stops. I figured FrameLayout would be my best bet for overlapping views. But I can't seem to make this work. The Horizontal listview seems to occupy the whole screen space. Any ideas? Is this even the right approach? I wish to have something similar to a fixed div in HTML.<br>
  Here's my XML:</p>
  
  <p>UPDATE-1: Used RelativeLayout as suggested, but still a no-go. The HorizontalListView still seems to be occupying the whole screen. I'm using the HorizintalListView from <a href="https://stackoverflow.com/questions/7763821/horizontalscrollview-and-adapter">here</a></p>
  
  <pre><code>&lt;RelativeLayout 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" 
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;ListView
          android:id="@+id/messages" 
          android:layout_width="fill_parent" 
          android:layout_height="fill_parent"
          android:layout_marginTop="5dip" /&gt;
  
  
      &lt;RelativeLayout 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true" &gt;
  
          &lt;test.ui.app.HorizontalListView 
                  android:id="@+id/folders"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" 
                  android:background="#FFFFFF" /&gt;
  
      &lt;/RelativeLayout&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>