Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0d737a9 authored by Ricardo Cervera's avatar Ricardo Cervera
Browse files

cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs...

cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee

Change-Id: I328fc60924d76c633e2f2576c514df22153cdc80
parent 6a5dd936
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -171,10 +171,10 @@ see <a href="{@docRoot}preview/material/compatibility.html">Compatibility</a>.</
<p>Here's how to specify properties of <code>CardView</code>:</p>

<ul>
  <li>To set the corner radius in your layouts, use the <code>android:cardCornerRadius</code>
  <li>To set the corner radius in your layouts, use the <code>card_view:cardCornerRadius</code>
  attribute.</li>
  <li>To set the corner radius in your code, use the <code>CardView.setRadius</code> method.</li>
  <li>To set the background color of a card, use the <code>android:cardBackgroundColor</code>
  <li>To set the background color of a card, use the <code>card_view:cardBackgroundColor</code>
attribute.</li>
</ul>