【发布时间】:2018-08-12 00:27:29
【问题描述】:
我正在尝试绕过堆栈布局的角落,它适用于 android,但在 iOS 上,它们仍然显示为方形,但确实显示了 Frame 阴影
我的 XAML 是
<ContentPage.Content>
<StackLayout BackgroundColor="WHITE">
<ListView>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout>
<Frame CornerRadius="10" Padding="0" Margin="10, 10, 10, 10">
<StackLayout>
. . .
</StackLayout>
</Frame>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentPage.Content>
【问题讨论】:
-
有什么想法吗?我需要找到解决此问题的方法。
标签: xaml xamarin xamarin.forms xamarin.ios