title: Android CardView containing ImageView and TextView issue
body: <p>I made an item XML file that I want to pass to an <code>Adapter</code> so I can display a list of items within a RecyclerView.</p>
  
  <p>The layout file consists of a <code>CardView</code> which contains an <code>ImageView</code> to show a movie poster and a <code>TextView</code> to display the movie title.</p>
  
  <p>My problem is that I can't find a way to place the <code>TextView</code> over the <code>ImageView</code> so the title can be seen above the poster.</p>
  
  <p>my xml file:</p>
  
  <pre><code>&lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:layout_margin="@dimen/dimension_value_10"
  &gt;
  
      &lt;android.support.v7.widget.CardView
          app:cardCornerRadius="@dimen/dimension_value_5"
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:elevation="@dimen/dimension_value_15"
          android:id="@+id/movie_poster_card"
          android:layout_centerVertical="true"
          android:layout_centerHorizontal="true"&gt;
  
              &lt;ImageView
                  android:id="@id/movie_poster_image"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:elevation="10dp" /&gt;
  
              &lt;TextView
                  android:id="@+id/movie_title_text_view"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_above="@+id/movie_poster_card"
                  android:layout_centerHorizontal="true"
                  android:gravity="center|start"
                  android:layout_margin="@dimen/dimension_value_10"
                  android:paddingLeft="@dimen/dimension_value_10"
                  android:text="Movie title here"
                  android:textColor="@color/white"
                  android:layout_gravity="bottom"
                  android:textSize="26sp" /&gt;
  
      &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p></p>
  
  <hr>
  
  <p>Here is the design image to be more explicit:</p>
  
  <p><a href="https://i.stack.imgur.com/iK6kK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iK6kK.png" alt="enter image description here"></a></p>