Animate CardView to grow when child recyclerview changes size
<p>I have a CardView and there is a RecyclerView inside of it which dynamically changes content.</p>

<p>It looks like this</p>

<p><a href="http://i.stack.imgur.com/d7duX.png" rel="nofollow">Picture example</a></p>

<p>I but that happens abruptly. I'd like the parent CardView to change size as shown in this gif. How can I do this?</p>

<p><a href="http://i.stack.imgur.com/UDK0I.gif" rel="nofollow">Animated GIF</a></p>