【发布时间】:2018-12-03 12:41:32
【问题描述】:
我的 Xaml:
<StackLayout
Orientation="Vertical">
<StackLayout
Orientation="Horizontal">
//Group labels and back arrow
</StackLayout>
<ListView>
//Message list
</ListView>
<Grid>
//Plus symbol,Editor and send icon
</Grid>
</StackLayout>
截图:
问题:
在正常屏幕上,顶部有一个栏(红色圆圈)。单击底部顶部栏上的编辑器时,它会隐藏。我需要顶部栏始终在顶部。 此问题仅在 IOS 部分,在 android 中此功能运行正常。我该如何解决这个问题?
【问题讨论】:
-
您是否将 VerticalOption 设置为 Top StackLayout 的 FillAndExpand?