Xamarin - 母版页,页面中央有选项卡

Xamarin - Master page with tabs in center of page

我正在尝试编写一个简单的移动应用程序。 我想要这样的设计:

我需要一个提示 - 我需要使用什么类型的页面? 我需要 Master Detail 页面(用于左侧的菜单)。

但我不知道如何在屏幕顶部设置 3 个标签 它不是标签页,因为我想在 iPhone(顶部)和 Android 中使用相同的设计。 我该怎么做?

谢谢

要获得菜单行为,您必须使用 Master Detail Page

如您所说,TabbedPage 选项卡将呈现在 iOS 的底部和 Android 的顶部。 如果你想始终将选项卡放在顶部,我建议你使用 CarouselPage 并手动实现选项卡栏。

您还有另一个选项违反了 iOS UI 我不推荐的原则,但您可以尝试使用 CustomRenderer for the TabbedPage and then use this .