title: CardView Layouts overlapping
body: <p>I have two cards views, I want to place one above the other but the end result is that they are placed on top of each other:</p>
  
  <p><img src="https://i.stack.imgur.com/mlz6l.png" alt="enter image description here"></p>
  
  <p>This is the XML code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  
      &lt;android.support.v7.widget.CardView
          android:id="@+id/entryTypeCardView"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;Spinner
              android:id="@+id/entryChoiceSpinner"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:padding="10dp" /&gt;
  
  
      &lt;/android.support.v7.widget.CardView&gt;
  &lt;/RelativeLayout&gt;
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:id="@+id/currencySpinnerLayout"
      android:orientation="vertical"
      android:layout_height="wrap_content"&gt;
  
      &lt;android.support.v7.widget.CardView
          android:id="@+id/currencyTypeCardView"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
  
  
          &lt;Spinner
              android:id="@+id/currencyChoiceSpinner"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:padding="10dp" /&gt;
      &lt;/android.support.v7.widget.CardView&gt;
  &lt;/RelativeLayout&gt;
  
  
  &lt;RelativeLayout
      android:layout_width="wrap_content"
      android:layout_height="match_parent"&gt;
  
      &lt;AutoCompleteTextView
          android:id="@+id/personNameTextField"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
        ...
  </code></pre>
  
  <p>What am I doing wrong?</p>