0

i have created this simple app with two tabbed pages and another two tabbs insied one of them here is how it looks. enter image description here and this is the xaml code

<Shell xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="bashal.MainPage" Title="Bashal"
       xmlns:local="clr-namespace:bashal.Views"
             xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
            xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
            NavigationPage.HasNavigationBar="False"
            android:TabbedPage.ToolbarPlacement="Bottom" >


    <TabBar>
        
        <Tab Title="Domestic"
        >
        <ShellContent Title="Cats"
                     ContentTemplate="{DataTemplate local:Page1}"/>
        <ShellContent Title="dogs"
                     ContentTemplate="{DataTemplate local:Page2}" />
    </Tab>
    <Tab Title="Monkeys"
        >
        <ShellContent ContentTemplate="{DataTemplate local:Page2}"  />
    </Tab>
</TabBar>




</Shell>

my question is how can i slide between the tabs in the first page( dogs & cat) insted of clicking on the the tabs to navigate between them? please tell me if my qustion needs more Clarification Thanks in advance

noor
  • 11
  • 4

0 Answers0