我有一个问题,我想创建一个圆形图片,所以我编写了以下代码:
<Frame Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" VerticalOptions="Center"
CornerRadius="100" IsClippedToBounds="True" HeightRequest="70" WidthRequest="70">
<Image Source="User_Vreesie_Logo.png"
VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" />
</Frame>
我希望得到一个70x70大小的圆形图像,但是我得到了一个非常长(宽度)的带有圆角的框架和一个微小的正方形图像在中间。我该如何解决这个问题?