Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin Forms TabbedPage, NavigationPage and the 'More' list

$
0
0

I have a rather simple TabbedPage app whose children are mostly NavigationPages like below. The problem is, since I have morre than 5 tabs (or n tabs if you're on an ipad), a More list is generated in iOS. that's totally cool! I like the More list. The problem is, once I launch a page from the More list, it is no longer a navigation page and any pages from the More list cannot push onto the Navigation stack.

<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
            xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
            xmlns:views="clr-namespace:Ifpa.Views"
            x:Class="Ifpa.Views.MainPage"
            xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"                       
            android:TabbedPage.ToolbarPlacement="Bottom">

    <NavigationPage Title="Rankings" IconImageSource="numbered_list.png">      
        <x:Arguments>
            <views:RankingsPage />
        </x:Arguments>
    </NavigationPage>

    <NavigationPage Title="Player Search" IconImageSource="search.png">
        <x:Arguments>
            <views:PlayerSearchPage />
        </x:Arguments>
    </NavigationPage>

    <NavigationPage Title="My Stats" IconImageSource="mystats.png">            
        <x:Arguments>
            <views:PlayerDetailPage />
        </x:Arguments>
    </NavigationPage>

    <NavigationPage Title="Calendar" IconImageSource="calendar.png">          
        <x:Arguments>
            <views:CalendarPage />
        </x:Arguments>
    </NavigationPage>

    <!-- More -->

    <NavigationPage Title="Favorites" IconImageSource="favorite.png">
        <x:Arguments>
            <views:FavoritesPage />
        </x:Arguments>
    </NavigationPage>

Viewing all articles
Browse latest Browse all 204402

Trending Articles