Why is the scrollview going behind the button here? I want the scrollview to stretch in height depending on the device but cant get it to work as it always goes behind the button.

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/detail_view" style="@style/DetailView"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="vertical" > <TextView style="@style/TextView" android:id="@+id/textview_message_title" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center"> </TextView> <TextView style="@style/TextView" android:id="@+id/textview_message_date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center"> </TextView> <ScrollView android:id="@+id/scrollview_message_text" android:layout_height="wrap_content" android:paddingBottom="20dip" android:layout_width="fill_parent"> <TextView style="@style/TextView" android:id="@+id/textview_message_text" android:layout_width="fill_parent" android:layout_height="wrap_content"> </TextView> </ScrollView> </LinearLayout> <LinearLayout style="@style/DetailView.Buttons" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <Button style="@style/Button" android:layout_marginTop="5dip" android:id="@+id/button_view_file" android:text="@string/viewfile"/> </LinearLayout> </RelativeLayout>
View Filebutton is where it is. probably something in the style?