Skip to content Skip to sidebar Skip to footer

How To Fill The Remaining Space Between Two Layouts

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 atta

Solution 1:

<FrameLayoutandroid:layout_below="@+id/toplayout"android:layout_above="@+id/bottomlayout"/>

Solution 2:

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

Post a Comment for "How To Fill The Remaining Space Between Two Layouts"