Question: I've got a problem concerning android layouts.

In my xml file I have two relative layouts. One is attached to the top by android:layout\_alignParentTop="true".

The other one is attached to the bottom by android:layout\_alignParentBottom="true".

Now there's a lot of space between these two views. I'd like two fill this remaining space with a FrameLayout where a couple of different fragments should be displayed.

Does anybody know how to fill the space I described?

Thanks a lot!

Answer: 
```
<FrameLayout android:layout_below="@+id/toplayout" 
   android:layout_above="@+id/bottomlayout"/>

```
add your frame layout and set its property 

```
< android:layout_above="@+id/top"
     android:layout_below="@+id/bottom" >

```

so the frame layout will occupy thw whole space between these two layouts