Created
June 20, 2017 15:52
-
-
Save sthewissen/93708d73f32e856b824b97bccaedeb90 to your computer and use it in GitHub Desktop.
The look and feel for the YouTube sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListView ItemsSource="{Binding Items}" HasUnevenRows="True"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<ViewCell> | |
<StackLayout Orientation="Vertical" Padding="15,20,15,20"> | |
<Image Source="{Binding HighThumbnailUrl}" Aspect="AspectFill" /> | |
<Label Text="{Binding Title}" TextColor="Black" Margin="0,5,0,0" FontSize="15"/> | |
<Label Text="{Binding ChannelTitle}" Margin="0,-5,0,0" TextColor="#767676" FontSize="13"/> | |
<StackLayout Orientation="Horizontal"> | |
<Label Text="{Binding ViewCount, StringFormat='{0:n0} views'}" TextColor="#767676" FontSize="13"/> | |
<Label Text="{Binding PublishedAtHumanized}" TextColor="#767676" FontSize="13"/> | |
</StackLayout> | |
</StackLayout> | |
</ViewCell> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
</ListView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment