Pages

RelativeLayout

<relativelayout width=fill_parent height=fill_parent>       <--------------------------This replaces the normal LinearLayout we use to top and tail our Activity Views
<linearlayout id=amountLayout android:layout_alignParentTop="true" >
<linearlayout id=numberLayout  android:layout_alignParentBottom="true"  >
<linearlayout 
      android:layout_below="@id/amountLayout"
      android:layout_above="@id/numberLayout"
      >
      <listview ........./>
 
 
The documentation says:
"For the sake of efficiency, the relations between views are evaluated in one pass, so if view Y is dependent on the position of view X, make sure the view X comes first in the layout."
 
 
So I layout out the top & bottom fixed elements then place the scrolling list in between them.