title: Graphical layout and emulator scope
body: <p>My graphical layout view and the running emulator view is different. I made a landscape layout which shows different in running emulator than the graphical layout's view.What can I do to match them (at least 95%). Take a look at the button position in my  Graphical layout view and the view in emulator. How can it be so different. The white background is supposed to be the boundary of my device in Graphical layout.<img src="https://i.stack.imgur.com/Tzamc.jpg" alt="enter image description here"></p>
  
  <p>This is what I get in running emulator in landscape mode, see the button is gone- 
  <img src="https://i.stack.imgur.com/g0SLH.jpg" alt="enter image description here"></p>
  
  <p>and this is my emulator settings- </p>
  
  <p><img src="https://i.stack.imgur.com/wsm0O.jpg" alt="enter image description here"></p>
  
  <p>This is my xml code for landscape layout-</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="fill_parent" &gt;
  
      &lt;TableLayout
          android:id="@+id/tableLayout1"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="15dp"
          android:orientation="horizontal" &gt;
  
          &lt;TableRow
              android:id="@+id/tableRow1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingTop="0dp" &gt;
  
              &lt;TextView
                  android:id="@+id/textView1"
                  android:layout_width="wrap_content"
                  android:layout_height="fill_parent"
                  android:paddingRight="80dp"
                  android:text="Age"
                  android:textAppearance="?android:attr/textAppearanceLarge"
                  android:textSize="15sp" /&gt;
  
              &lt;EditText
                  android:id="@+id/editText1"
                  android:layout_width="wrap_content"
                  android:layout_height="fill_parent"
                  android:inputType="number" /&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingTop="0dp" &gt;
  
              &lt;TextView
                  android:id="@+id/textView2"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:paddingRight="10dp"
                  android:text="Height"
                  android:textAppearance="?android:attr/textAppearanceLarge"
                  android:textSize="15sp" /&gt;
  
              &lt;EditText
                  android:id="@+id/editText2"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:inputType="numberDecimal" /&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow4"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingTop="0dp" &gt;
  
              &lt;TextView
                  android:id="@+id/textView4"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Weight"
                  android:textAppearance="?android:attr/textAppearanceLarge"
                  android:textSize="15sp" /&gt;
  
              &lt;EditText
                  android:id="@+id/editText3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:inputType="numberDecimal" /&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow3"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingTop="0dp" &gt;
  
              &lt;TextView
                  android:id="@+id/textView3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:paddingRight="10dp"
                  android:text="Sex"
                  android:textAppearance="?android:attr/textAppearanceLarge"
                  android:textSize="15sp" /&gt;
  
              &lt;Spinner
                  android:id="@+id/spinner1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:entries="@array/sex" /&gt;
  
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow6"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingTop="0dp" &gt;
  
              &lt;RadioGroup
                  android:id="@+id/radioGroup1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal" &gt;
  
                  &lt;RadioButton
                      android:id="@+id/radio0"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:checked="true"
                      android:text="Metric" /&gt;
  
                  &lt;RadioButton
                      android:id="@+id/radio1"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="Imperial" /&gt;
              &lt;/RadioGroup&gt;
  
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow5"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:gravity="left"
              android:paddingTop="0dp" &gt;
  
              &lt;Button
                  android:id="@+id/button1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_vertical|center_horizontal"
                  android:text="OK" /&gt;
  
          &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
      &lt;TextView
          android:id="@+id/textView5"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:text="BMR Calculator"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:textSize="15sp" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>