how do I increase the cardView Size based on the text size?
<p>If I change the text size it will overflow my cardview <strong>how do I change the cardview size to adjust to the current textview size?</strong></p>

<pre><code>&lt;android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/cardview"
android:layout_width="match_parent"
android:layout_height="120dp"
card_view:cardElevation="1.5dp"
card_view:cardCornerRadius="0dp"
android:onClick="OnClick"&gt;
</code></pre>