title: Unnecessary padding in CardView?
body: <p>I have implemented CardView in my app and everything works fine except there is a little padding around the image if I put radius to the card.</p>
  
  <p>It appears like this: 
  <img src="https://cloud.githubusercontent.com/assets/2862724/5561610/c8a1c04e-8e08-11e4-9bd0-3eb6eea57a00.png" alt="screenshot_2014-12-27-20-31-55"></p>
  
  <p>But in <a href="http://developer.android.com/training/material/lists-cards.html#CardView">android docs</a> and in <a href="http://treyrobinson.net/blog/android-l-tutorials-part-3-recyclerview-and-cardview/">this article</a> the image takes the entire cardview, so can u help me achieve that.</p>
  
  <p>My layout file is like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:card_view="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:padding="8dp"&gt;
  
  &lt;android.support.v7.widget.CardView
      android:layout_width="match_parent"
      android:layout_height="200dp"
      card_view:cardBackgroundColor="@android:color/white"
      card_view:cardCornerRadius="4dp"&gt;
  
      &lt;ImageView
          android:id="@+id/media_image_view"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:scaleType="centerCrop"/&gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom"
              android:alpha="0.8"
              android:background="?attr/colorPrimary"
              android:padding="4dp"&gt;
  
              &lt;TextView
                  android:id="@+id/media_download"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentRight="true"
                  android:textSize="11sp"/&gt;
  
              &lt;TextView
                  android:id="@+id/category_name"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentLeft="true"
                  android:textColor="@color/primary_text"
                  android:textSize="12sp"/&gt;
  
          &lt;/RelativeLayout&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><em>NOTE: The screenshot is captured on a pre-lollipop device.</em></p>