This kind of problem is difficult to search and best explained by images.
Here is my current image.

Button is at the bottom but I cannot read String4’s value. I tried padding, layout_margin , changing layout_width and layout_height etc. but in vain. Can anyone help me here? Any kind of information is appreciated.
My layout is
<?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:orientation="vertical" >
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/labelInfo"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/priceInfo"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/description"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/brand"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<Button
android:id="@+id/goToUrl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:text="@string/buy" />
</RelativeLayout>
</RelativeLayout>
Please note there is scrollbar since first TextView’s value can be quite long.I know one solution is to use Listview, but I am keeping that as last resort.
Thanks
first make footer.xml as shown below
after this chnage ur layout as shown below