I am making an android app with scrollview and inside the scrollview there is a relativelayout and both of them have a background and it works fine but when I try to make space between the scrollview and the relativelayout by using marginTop and Bottom, the bottom of the scrollview disappear.

```
<?xml version="1.0" encoding="utf-8"?>

 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="400dp"
    android:layout_height="fill_parent"
    android:background="@drawable/bg"

    >

 <RelativeLayout
        android:layout_width="330dp"
        android:layout_height="730dp"
        android:layout_marginLeft="26dp"
        android:layout_marginRight="26dp"
        android:layout_marginTop="26dp"
        android:layout_marginBottom="26dp"
        android:background="@drawable/bg2"

        >

<Button
    android:id="@+id/button1"
    android:layout_width="100dp"
    android:layout_height="30dp" />

<Button
    android:id="@+id/button2"
    android:layout_width="100dp"
    android:layout_height="30dp" />

<Button
    android:id="@+id/button3"
    android:layout_width="100dp"
    android:layout_height="30dp" />

  </RelativeLayout>       

   </ScrollView>

```

when I run the app I want this:

![enter image description here](https://i.stack.imgur.com/Nhsgw.png)

but I am getting this, I cant view the bottom:

![enter image description here](https://i.stack.imgur.com/naKxX.png)