title: Card View gives automatic padding to the image inside it
body: <p>I have created a card view as follows:</p>
  
  <pre><code>&lt;android.support.v7.widget.CardView
  android:id="@+id/card"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:card_view="http://schemas.android.com/apk/res-auto"
  card_view:cardBackgroundColor="#FF5722"
  android:layout_width="fill_parent"
  android:layout_height="135dp"
  card_view:cardCornerRadius="5dp"
  android:layout_marginTop="9dp"
  android:layout_marginLeft="9dp"
  android:layout_marginRight="9dp"
  card_view:cardElevation="0.01dp"
  android:layout_marginBottom="0dp"
  card_view:cardPreventCornerOverlap="false"
  card_view:cardUseCompatPadding="true"
  &gt;
      &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
  
      &gt;
  
  
      &lt;ImageView
          android:id="@+id/imgv"
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="3"
          android:src="@drawable/android"
          /&gt;
  
  
      &lt;RelativeLayout
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="7"&gt;
  
  
             &lt;TextView
                 android:id="@+id/textview1"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"/&gt;
  
  
             &lt;TextView
                 android:id="@+id/textview2"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="40dp"
                 android:layout_marginTop="30dp"
  
                 /&gt;  
  
         &lt;/RelativeLayout&gt;
  
  
     &lt;/LinearLayout&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>The above code however gives a padding to the image as shown below.I am running this in lollipop so I don't think there should be any problem.So why is this happening.
  I also tired adding card_view:cardPreventCornerOverlap="false" as said <a href="https://stackoverflow.com/a/31300964/5547156">here</a>.It still doesn't work.</p>
  
  <p><a href="https://i.stack.imgur.com/agyDz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/agyDz.jpg" alt="Card View"></a></p>
  
  <p><strong>Update</strong></p>
  
  <p>After changing the android:layout_height="wrap_content" instead of 135 dp it works perfectly.But I want to keep it as 135dp.How can I do that?</p>