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

Commit c79f3d69 authored by Ricardo Cervera's avatar Ricardo Cervera Committed by Android (Google) Code Review
Browse files

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

Merge "cherrypick from klp-modular-dev docs: Fix issue with CardView preview docs Bug: 16277161 Change-Id: Iea8cbff81fbf3ac50c9009fbf21dc65c625e71ee" into klp-modular-docs
parents 649e8f9b d0d737a9
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>