diff --git a/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj b/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj index fab5c9416..549161162 100644 --- a/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj +++ b/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj @@ -1,4 +1,4 @@ - + $(NetVersion)-ios;$(NetVersion)-android;$(NetVersion)-maccatalyst @@ -42,6 +42,7 @@ + @@ -49,7 +50,7 @@ - + @@ -83,4 +84,4 @@ maccatalyst-arm64;maccatalyst-x64 - + \ No newline at end of file diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Views/AvatarView/AvatarViewRatingPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Views/AvatarView/AvatarViewRatingPage.xaml index 5429f4211..86086f8e0 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/Views/AvatarView/AvatarViewRatingPage.xaml +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Views/AvatarView/AvatarViewRatingPage.xaml @@ -53,8 +53,6 @@ - - @@ -66,7 +64,7 @@ Grid.Column="0" HeightRequest="48" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="1" WidthRequest="48" /> @@ -74,7 +72,7 @@ Grid.Column="1" HeightRequest="48" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="2" WidthRequest="48" /> @@ -82,7 +80,7 @@ Grid.Column="2" HeightRequest="48" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="3" WidthRequest="48" /> @@ -90,7 +88,7 @@ Grid.Column="3" HeightRequest="48" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="4" WidthRequest="48" /> @@ -98,7 +96,7 @@ Grid.Column="4" HeightRequest="48" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star, cliped by parent size." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="5" WidthRequest="48"> @@ -112,7 +110,7 @@ HeightRequest="48" ImageSource="avatar_icon.png" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="1" WidthRequest="48" /> @@ -122,7 +120,7 @@ HeightRequest="48" ImageSource="https://aka.ms/campus.jpg" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="2" WidthRequest="48" /> @@ -132,7 +130,7 @@ HeightRequest="48" ImageSource="avatar_icon.png" SemanticProperties.Description="Sample AvatarView idea using a polyline stroke shape to override the corder radius to draw a star, cliped by parent size." - StrokeShape="Polyline 70,16 76,32 94,32 80,44 84,60 70,50 55,60 60,42 46,32 64,32" + StrokeShape="Polyline 24,0 29,16 48,18 34,30 38,48 24,37 10,48 14,30 0,18 19,16" Style="{StaticResource Rating}" Text="3" WidthRequest="48"> diff --git a/samples/CommunityToolkit.Maui.Sample/Resources/Images/splash.svg b/samples/CommunityToolkit.Maui.Sample/Resources/Images/splash.svg new file mode 100644 index 000000000..21dfb25f1 --- /dev/null +++ b/samples/CommunityToolkit.Maui.Sample/Resources/Images/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file