title: Set CardView height programmatically
body: <p>I am new to Android dev and I'm having trouble trying to set the min height of a <code>it.gmariotti.cardslib.library.view.CardView</code> programmatically. I create a new instance of a CardView and set all the xml elements in code, but it does not affect the cardView. I do not inflate the cardview from xml.</p>
  
  <pre><code>CardView catCard = new CardView(getActivity());
  
      catCard.setBackgroundColor(Color.green(0));
  
      catCard.setMinimumHeight(10);
      catCard.setBottom(0);
      catCard.setExpanded(false);
  </code></pre>