我认为你可以使用两种方式。
第一种方法是使用RelativeLayout
RelativeLayout 用于相对于布局或同级视图的属性来定位和调整视图。与 AbsoluteLayout 不同,RelativeLayout 没有移动锚点的概念,也没有相对于布局的底部或右侧边缘定位元素的设施。 RelativeLayout 确实支持将元素定位在它自己的边界之外。
例如
<RelativeLayout>
<BoxView Color="Red" x:Name="redBox"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent,
Property=Height,Factor=.15,Constant=0}"
RelativeLayout.WidthConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Width,Factor=1,Constant=0}"
RelativeLayout.HeightConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Height,Factor=.8,Constant=0}" />
<BoxView Color="Blue"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView,
ElementName=redBox,Property=Y,Factor=1,Constant=20}"
RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToView,
ElementName=redBox,Property=X,Factor=1,Constant=20}"
RelativeLayout.WidthConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Width,Factor=.5,Constant=0}"
RelativeLayout.HeightConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Height,Factor=.5,Constant=0}" />
</RelativeLayout>
另一种方法是使用网格。如果您必须在条目附近添加 ListView(例如),您可以在两个“行”中添加条目和 ListView 一个在另一个之下,并使用 Grid.Span 设置 ListView 的高度。我不知道这很好用......但你可以试试。否则,在 Grid 的 Cell 中添加一个 RelativeLayout,然后将您的 Entry 和 ListView 添加到这个 RelativeLayout。
你现在有一些练习要做;)