title: Error in the Layout setting
body: <p>Right now I have a layout as in the picture, just that I would like the blue rectangle inside the white rectangle I go to fill the whole size of the white square .. but I tried to change some settings but not works.</p>
  
  <p>The Xml is:</p>
  
  <pre><code>    &lt;merge xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     tools:context=".LoginActivity" &gt;
  
  
      &lt;!-- Login progress --&gt;
  
      &lt;LinearLayout
         android:id="@+id/login_status"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_gravity="center"
         android:gravity="center_horizontal"
         android:orientation="vertical"
         android:visibility="gone" &gt;
  
          &lt;ProgressBar
             style="?android:attr/progressBarStyleLarge"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="8dp" /&gt;
  
          &lt;TextView
             android:id="@+id/login_status_message"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
             android:fontFamily="sans-serif-light"
             android:text="@string/login_progress_signing_in"
             android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;!-- Login form --&gt;
  
      &lt;ScrollView
         android:id="@+id/login_form"
         android:layout_width="fill_parent"
         android:layout_height="match_parent"
         android:background="@color/background_color" &gt;
  
  
  
          &lt;LinearLayout
             style="@style/LoginFormContainer"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:layout_gravity="center_horizontal"
             android:layout_marginTop="20dp"
             android:background="@color/background_login_color"
             android:orientation="vertical" &gt;
  
          &lt;LinearLayout
         android:id="@+id/row0"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:background="@drawable/top_logo_repeat"
         android:gravity="center"
         android:orientation="vertical" &gt;
  
          &lt;ImageView
             android:id="@+id/imageLogo"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:antialias="true"
             android:contentDescription="@string/logoimg"
             android:src="@drawable/logo" /&gt;
  
      &lt;/LinearLayout&gt;
  
              &lt;EditText
                 android:id="@+id/username"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:hint="@string/prompt_username"
                 android:inputType="textEmailAddress"
                             android:layout_marginTop="20dp"
  
                 android:maxLines="1"
                 android:singleLine="true" /&gt;
  
              &lt;EditText
                 android:id="@+id/password"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:hint="@string/prompt_password"
                 android:imeActionId="@+id/login"
                 android:imeActionLabel="@string/action_sign_in_short"
                 android:imeOptions="actionUnspecified"
                 android:inputType="textPassword"
                 android:maxLines="1"
                 android:singleLine="true" /&gt;
  
              &lt;CheckBox
                 android:id="@+id/checkBox1"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:text="@string/saveCheckBox" /&gt;
  
              &lt;Button
                 android:id="@+id/sign_in_button"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
                 android:layout_marginTop="16dp"
                 android:paddingLeft="32dp"
                 android:paddingRight="32dp"
                 android:text="@string/action_sign_in_register" /&gt;
  
              &lt;Button
                 android:id="@+id/button1"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
                 android:layout_toRightOf="@+id/sign_in_button"
                 android:layout_weight="0.30"
                 android:text="@string/registerButton" /&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/ScrollView&gt;
  
  &lt;/merge&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/cP2t3.png" alt="Screen Layout"></p>