title: Android 4.4 remove shadow from CardView
body: <p><strong>I tried to remove the shadow from the Cardview.<br>
  I used android support v7 Cardview on android v4.4.2</strong>  </p>
  
  <p>My layout look:  </p>
  
  <pre><code>&lt;android.support.v7.widget.CardView
      android:id="@+id/cardContainer"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@null"
      card_view:cardBackgroundColor="@color/transparent"
      card_view:cardCornerRadius="0dp"
      card_view:cardElevation="0dp"
      card_view:cardPreventCornerOverlap="false"
      card_view:contentPadding="0dp"&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;include layout="@layout/include_profile_header" /&gt;
  
          &lt;include layout="@layout/include_profile_footer" /&gt;
  
      &lt;/RelativeLayout&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>As you can see i used:   </p>
  
  <pre><code>  card_view:cardElevation="0dp" 
  </code></pre>
  
  <p>Tried so far:  </p>
  
  <pre><code>android:background="@null"  
  </code></pre>
  
  <p>But still you can see in the image i attached the top shadow that showed.</p>
  
  <p><a href="https://i.stack.imgur.com/piOto.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/piOto.png" alt="CardView Shadow"></a></p>