title: Relative layout doesnot take full screen
body: <p>In my application I want the <code>RelativeLayout</code> to cover the whole screen. But when I run my application the height is lesser than screen height.</p>
  
  <p>Screen dimension: 720x1280
  RelativeLayout dimensions: 720x1230</p>
  
  <p>Here is the code:  </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="fill_parent"
      android:layout_height="match_parent"
      android:id="@+id/hello"
      tools:context="com.selfie.app.MainActivity" &gt;
  
      &lt;FrameLayout
          android:id="@+id/frame1"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
           &gt;
  
          &lt;SurfaceView
              android:id="@+id/surfaceView"
              android:layout_width="match_parent"
              android:layout_height="fill_parent" /&gt;
  
          &lt;ImageView
              android:id="@+id/opaque"
              android:layout_width="fill_parent"
              android:layout_height="match_parent"
              android:visibility="invisible" /&gt;
  
          &lt;Spinner
              android:id="@+id/spinner1"
              android:layout_width="60dp"
              android:layout_height="60dp"
              android:background="@drawable/timeranim"
  
              /&gt;
  
          &lt;TextView
              android:id="@+id/textView1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="150dp"
              android:layout_marginTop="250dp"
              android:text="TextView"
              android:textSize="38dp"
              android:textColor="#000000"
              android:textStyle="bold"
              android:visibility="invisible" /&gt;
  
  
      &lt;/FrameLayout&gt;
  
      &lt;Button
          android:id="@+id/captureImage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="@dimen/activity_vertical_margin"
          android:background="@drawable/cameraanim" /&gt;
  
      &lt;Button
          android:id="@+id/flash"
          android:layout_width="50dp"
          android:layout_height="48dp"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="@dimen/activity_vertical_margin"
          android:layout_marginRight="25dp"
          android:layout_toLeftOf="@id/captureImage"
          android:background="@drawable/flashanim" 
          /&gt;
  
      &lt;Button
          android:id="@+id/flipCamera"
          android:layout_width="50dp"
          android:layout_height="48dp"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="@dimen/activity_vertical_margin"
          android:layout_marginLeft="25dp"
          android:layout_toRightOf="@id/captureImage"
          android:background="@drawable/camera" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>