title: android layout doesnt fill screen leaves a padding on left right and top
body: <p>I have a relative layout which doesnt fit the whole width and height of the device and it always leaves a padding on the top , left , bottom and right.</p>
  
  <p>my activity xml</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="wrap_content"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:fillViewport ="true"
  tools:context=".MainActivity" &gt;
  &lt;android.support.v4.view.ViewPager
      android:id="@+id/pager"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
  /&gt;
  </code></pre>
  
  <p></p>
  
  <p>manifest contains </p>
  
  <pre><code>&lt;supports-screens android:xlargeScreens="true" /&gt;
  &lt;uses-sdk
      android:minSdkVersion="14"
      android:targetSdkVersion="17" /&gt;
  </code></pre>
  
  <p>im a newbie to android hence , i might have tried to repost the same question which would have been answered already! </p>
  
  <p>all the answers i found are either manifest change or fill_parent.. but it doesnt help me anyway.</p>
  
  <p>im testing it on a nexus 4 device.</p>