title: Android Material CardView with full screen image on Cardview
body: <p>i need to do this :</p>
  
  <p><a href="http://developer.android.com/design/material/images/card_travel.png" rel="nofollow">http://developer.android.com/design/material/images/card_travel.png</a></p>
  
  <p>so i create and add the dependency to the project and here is my activity main code:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/feed_detail"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
  
      &lt;android.support.v7.widget.CardView
          android:layout_height="wrap_content"
          android:layout_width="match_parent"
          android:layout_margin="6dp"&gt;
          &lt;ImageView
              android:layout_width="100dp"
              android:layout_height="50dp"
              android:src="@drawable/ic"/&gt;
  
  
          &lt;TextView
              style="@style/TextAppearance.AppCompat.Caption"
              android:textColor="#555"
              android:layout_margin="3dp"
              android:gravity="end"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Detail"/&gt;
      &lt;/android.support.v7.widget.CardView&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>so, how we can do this like below picture:?</p>
  
  <p><a href="http://i.stack.imgur.com/Z0lNa.png" rel="nofollow">http://i.stack.imgur.com/Z0lNa.png</a></p>
  
  <p>Cheers!</p>