Xamarin Shell 跳转到二级页面后,二级页面使用RelativeLayout布局。子视图的Y值设置为和页面的Y值一样,但实际视图不是这样的。子视图距页面顶部大约 40 个空白。为什么?这个bug怎么解决?</p>
<ContentPage.Content>
<RelativeLayout BackgroundColor="#FFFFFF">
<BoxView x:Name="topBoxView"
HeightRequest="30"
BackgroundColor="#F0F0F0"
RelativeLayout.XConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=X}"
RelativeLayout.YConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Y}"
RelativeLayout.WidthConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Width}"/>
</RelativeLayout>
</ContentPage.Content>>