title: how to put 2 layouts on top of each others
body: <p>I'm trying to put 2 layouts on top of each others but it doesn't work.There is a space that i don't know how to remove.</p>
  
  <p>here is my code:</p>
  
  <pre><code>&lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:orientation="vertical" 
                  android:layout_gravity="bottom|center"
                  android:weightSum="1"&gt;
  
                  &lt;LinearLayout
                      android:layout_width="wrap_content"
                      android:layout_height="170dp"
                      android:layout_weight="0.5"
                      android:background="@drawable/column_white"
                      android:layout_gravity="bottom|center"
                      android:gravity="bottom"
                      android:orientation="vertical"
  
                      &gt;
                      &lt;LinearLayout 
                          android:layout_width="10sp"
                          android:layout_height="100sp"
                          android:background="@drawable/arrow_body"
                          android:layout_marginLeft="10sp"
                          &gt;&lt;/LinearLayout&gt;
                      &lt;LinearLayout 
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:background="@drawable/arrow_shape"
                          android:layout_marginLeft="6sp"
                          &gt;&lt;/LinearLayout&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:layout_width="wrap_content"
                      android:layout_height="150dp"
                      android:layout_margin="25sp"
                      android:background="@drawable/column_blue"
                      android:gravity="center"
                      android:layout_weight="0.5" &gt;
  
                      &lt;TextView
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="40 000 "
                          android:textColor="#ffffff"
                          android:textSize="25sp" /&gt;
                  &lt;/LinearLayout&gt;
  
              &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>with <code>RelativeLayout</code>:</p>
  
  <pre><code>&lt;RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="vertical" &gt;
  
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="170dp"
          android:background="@drawable/column_white"
          android:gravity="bottom"
  
          android:layout_alignBottom="@id/second_part"
          android:orientation="vertical" &gt;
  
          &lt;LinearLayout
              android:layout_width="10sp"
              android:layout_height="100sp"
              android:layout_marginLeft="10sp"
              android:background="@drawable/arrow_body" &gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="6sp"
              android:background="@drawable/arrow_shape" &gt;
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
  
          android:id="@+id/second_part"
          android:layout_width="wrap_content"
          android:layout_height="150dp"
          android:layout_margin="25sp"
  
          android:background="@drawable/column_blue"
          android:gravity="center" &gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="40 000"
              android:textColor="#ffffff"
              android:textSize="25sp" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>