title: CardView Padding/Spacing Varies on Different API Level
body: <p>I am testing my application on multiple devices and noticed that with the CardView, certain devices are rendering spacing in between each CardView.</p>
  
  <p>I am trying to isolate the problem, and it looks like API 23 does not include any spacing, whereas API &lt; 23 renders some sort of padding/spacing.</p>
  
  <p>Note that I have already tried the solution proposed <a href="https://stackoverflow.com/questions/27035647/why-there-is-no-space-between-cardviews-on-lollipop">here</a> and it did not work. It proposed the following in the XML:</p>
  
  <pre><code>app:cardUseCompatPadding="true"
  </code></pre>
  
  <p>API 23</p>
  
  <p><a href="https://i.stack.imgur.com/GRsha.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GRsha.png" alt="enter image description here"></a></p>
  
  <p>API &lt; 23</p>
  
  <p><a href="https://i.stack.imgur.com/D0pDX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D0pDX.png" alt="enter image description here"></a></p>