Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

NavigationPage to TabbedPage

$
0
0

Hi there Xamarin folks

I'm currently in the process of constructing the layout for an app I'm developing, and I've come across a rather annoying problem.

I'm wrapping my initial view in a NavigationPage, so I can use the Navigation property on Android and iOS. However it has proven impossible to navigate from a NavigationPage, to a TabbedPage. When I do, it adds the tabbing buttons (to switch from one tab to another) in the top, but beneath the navigation bar. I would like it to replace the navigation bar, instead of placing itself beneath it.

I've also tried invoking the Androids SetPage(new TabbedPage()) instead. While this does produce the desired result with the tabs in the top, it clears the view. What I mean by that is, I literally cannot see any of the content inside the tabbed page.
Obtaining a reference to the NavigationPage through recursively accessing controls parents has proven equally unsuccessful. No NavigationPage was found.

I'm tempted to believe this might be a "Xamarin Forms is still in early progress"-thing, so it's simply not supported yet. Though I hope not.

Anyone got a take on how to accomplish this?

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>