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

Commit b5cd1976 authored by Ricardo Cervera's avatar Ricardo Cervera Committed by Android Git Automerger
Browse files

am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with...

am c79f3d69: Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee" into klp-modular-docs

* commit 'c79f3d69':
  cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee
parents 1374f6ea c79f3d69
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>