title: CardView default background color problematic
body: <p>The default white background of <code>CardView</code> is problematic or am I missing something? When I fill the <code>CardView</code> with normal unstyled Android UI the white text of <code>TextView</code> is not readable e.g.</p>
  
  <p><strong>Has someone an idea what a good fix for that would be?</strong> I use the default "Theme.AppCompat" theme and the other background colors look correct. Is that a missing attribute in the Theme.AppCompat? Or am I doing something wrong? The default colors without setting any values manually should be always working or not?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I now apply the default background color for the current style to the cardview like this:</p>
  
  <pre><code>    TypedArray array = context.getTheme().obtainStyledAttributes(
              new int[] { android.R.attr.colorBackground });
      card.setCardBackgroundColor(array.getColor(0, 0xFF00FF));
  </code></pre>
  
  <p>I think its a quite save "default" fix to have at least no text color problems like in the screenshot but the question remains what should be the best practice here and why the cardview has alsways white as the default background color no matter what theme is used..</p>
  
  <p><img src="https://i.stack.imgur.com/GhElt.png" alt="Screenshot from Android 4.4 device"></p>