Created
November 10, 2017 21:26
-
-
Save juucustodio/b25dad3c56a7ec4151707ce99cebf6d3 to your computer and use it in GitHub Desktop.
Example of BadgeView with circle box using custom renderer - http://julianocustodio.com/badgeview
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
... | |
<ContentPage.Content> | |
<StackLayout VerticalOptions="Center"> | |
<StackLayout Orientation="Horizontal" HorizontalOptions="Center"> | |
<Label HorizontalTextAlignment="Center" Text="Notifications" FontSize="18"/> | |
<local:Badge x:Name="BadgeNotifications" BoxColor="red" | |
WidthRequest="18" HeightRequest="18" | |
VerticalOptions="Center" HorizontalOptions="Center"> | |
<x:Arguments> | |
<x:Double>30</x:Double> | |
<x:Double>10</x:Double> | |
</x:Arguments> | |
</local:Badge> | |
</StackLayout> | |
<Button Text="Add Notification" Clicked="AddNotification"/> | |
</StackLayout> | |
</ContentPage.Content> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment