title: CardView in Xamarin.Forms
body: <p>I'm looking for a way to dynamically generate card-like controls that look like these:</p>
  
  <p><a href="https://i.stack.imgur.com/Aqr6N.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Aqr6N.jpg" alt="enter image description here"></a> </p>
  
  <p>I have been doing some search and have found <a href="https://developer.xamarin.com/guides/android/platform_features/introduction_to_lollipop/#settingup" rel="nofollow noreferrer">this article</a> that shows you how to implement CardView on a <strong>Xamarin.Android project</strong>. But I'm using Xamarin.Forms so I can compile for iOS as well.</p>
  
  <p>I also tried to use a ListView with ViewCells and a couple StackLayout tags, but wasn't able to even get close to that, here is the code:</p>
  
  <pre><code>&lt;ListView x:Name="listView"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;ViewCell Height="300"&gt;
                  &lt;StackLayout&gt;
                      &lt;StackLayout Orientation="Horizontal"&gt;
                          &lt;Image Source="{Binding UserAvatar}" /&gt;
                          &lt;Label Text="{Binding UserName}" /&gt;
                      &lt;/StackLayout&gt;
                      &lt;Image Source="{Binding BittImage}" /&gt;
                  &lt;/StackLayout&gt;
              &lt;/ViewCell&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>I'm pretty new to Xamarin, so if I'm missing something basic, please let me know guys. </p>