我需要在relativelayout 的底部放置一个线性布局,它是xml 中最顶层的父级。我怎样才能做到这一点?
请帮我。
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<RelativeLayout ....... <<--- this should occupy total available space
</Relativelayout
<Linearlayout ....... <<-- this should place at bottom always with height 50dp
</LineaLayout>
</ReltiveLayout>