Custom Dialog gives white space at topside in android
<p>i am working on an app , i have implemented a custom dialog for confirmation purpose,I have created a custom layout for the dialog, but it comes with white space at top side, Can someone help me to remove it?
<strong>xml</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_gravity="center"
    android:gravity="center"
    android:background="@drawable/bg_et_selected"
    android:layout_width="300dp" android:layout_height="170dp"&gt;

   &lt;RelativeLayout

       android:layout_width="300dp"
       android:layout_height="170dp"&gt;
       &lt;TextView
           android:id="@+id/tv_hdr"
           android:layout_width="fill_parent"
           android:layout_height="40dp"
           android:background="#31E2D9"
           android:layout_alignParentTop="true"
           android:text="Report"
           android:textSize="22dp"
           android:gravity="center"
           android:textColor="#ffffff"
           android:textStyle="bold"
           /&gt;

       &lt;TextView
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:textSize="22dp"
           android:layout_below="@+id/tv_hdr"
           android:layout_marginTop="20dp"
           android:gravity="center"
           android:textStyle="bold"
           android:text="Are you sure want to report this post?"
           android:layout_centerHorizontal="true"
           android:textColor="#545454"
           android:id="@+id/tv_title" /&gt;

       &lt;LinearLayout
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:layout_alignParentBottom="true"
           android:weightSum="2"
           &gt;
           &lt;Button
               android:id="@+id/btn_ok"
               android:layout_width="wrap_content"
               android:layout_height="35dp"
               android:text="YES"
               android:textStyle="bold"
               android:textColor="#ffffff"
               android:background="@drawable/btn_selector"
               android:layout_weight="1"/&gt;

           &lt;View
               android:layout_width="1dp"
               android:layout_height="30dp"
               android:background="#ffffff"/&gt;

           &lt;Button
               android:id="@+id/btn_cancel"
               android:layout_width="wrap_content"
               android:layout_height="35dp"
               android:text="NO"
               android:textStyle="bold"
               android:textColor="#ffffff"
               android:background="@drawable/btn_selector"
               android:layout_weight="1"/&gt;    
       &lt;/LinearLayout&gt;

   &lt;/RelativeLayout&gt;

&lt;/RelativeLayout&gt;
</code></pre>