title: XML Graphical Layout output does not match with Emulator output in android
body: <p>In the layout view my xml looks like this</p>
  
  <p><a href="http://i.imgur.com/SrjWlWo.png" rel="nofollow">http://i.imgur.com/SrjWlWo.png</a></p>
  
  <p>But when I run my program, it looks like this</p>
  
  <p><a href="http://i.imgur.com/UPyy1Gk.png" rel="nofollow">http://i.imgur.com/UPyy1Gk.png</a></p>
  
  <p>Why is this happening?</p>
  
  <p>This is the layout file code:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/LinearLayout1"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@drawable/background"
  android:orientation="vertical"
  android:paddingTop="@dimen/activity_vertical_margin" &gt;
  
  &lt;LinearLayout
  android:layout_width="wrap_content"
  android:paddingTop="50dp"
   android:layout_marginLeft="70dp"
  android:layout_height="wrap_content"
  android:orientation="horizontal"&gt;
  
  &lt;ImageView
      android:id="@+id/imageView1"
      android:layout_width="wrap_content"
  
      android:layout_height="wrap_content"
      android:src="@drawable/quiz" /&gt;
  
      &lt;ImageView
      android:id="@+id/imageView2"
      android:layout_width="wrap_content"
      android:layout_marginTop="12dp"
      android:layout_marginLeft="25dp"
      android:layout_height="wrap_content"
      android:src="@drawable/quiztitle" /&gt;
  
  &lt;/LinearLayout&gt;  
  
  &lt;LinearLayout
  android:layout_width="wrap_content"
  android:layout_marginTop="40dp"
  android:layout_height="wrap_content"
  android:orientation="horizontal" &gt;
  
  &lt;ImageButton
      android:id="@+id/quiz1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:layout_marginLeft="20dp"
      android:adjustViewBounds="true"
      android:src="@drawable/quiz1" /&gt;
  
      &lt;ImageButton
      android:id="@+id/quiz2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
       android:layout_marginLeft="20dp"
      android:adjustViewBounds="true"
      android:src="@drawable/quiz2" /&gt;
  
  &lt;ImageButton
      android:id="@+id/quiz3"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
     android:layout_marginLeft="20dp"
      android:src="@drawable/quiz3" /&gt;
  
  
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout
  android:layout_width="wrap_content"
  android:layout_height="wrap_content" 
  android:orientation ="horizontal"
  android:layout_marginTop="30dp"&gt;
  
   &lt;ImageButton
      android:id="@+id/quiz4"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginLeft="60dp"
      android:adjustViewBounds="true"
      android:src="@drawable/quiz4" /&gt;
  
  &lt;ImageButton
      android:id="@+id/quiz5"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
   android:layout_marginLeft="30dp"
      android:adjustViewBounds="true"
      android:src="@drawable/quiz5" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;ImageButton
      android:id="@+id/next"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|right"
      android:adjustViewBounds="true"
      android:src="@drawable/next" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Thank you to anyone that could help</p>