Using Tabview and SideDrawer from the same page


#1

Hi Guys, Ive been trying to use the sidebar menu for extra navigation from a page that has tabview too,this seems to have added some complications and non of the html seems to be applied correctly.Any help would be greatly appreciated.Here is some of my code.

lets start with the html…have i done this correctly to have the sidedrawer button show ?

    <TabView selectedIndex="0" (selectedIndexChange)="onIndexChanged($event)" sdkExampleTitle sdkToggleNavButton class=intabbtn>
        <StackLayout *tabItem="{title: 'Groceries',  iconSource: 'res://logo_white_bg'}">
            <label text="hello"></label>
        </StackLayout>
    
        <StackLayout *tabItem="{title: 'Recipes',  iconSource: 'res://logo_white_bg'}">
        </StackLayout>
    
        <StackLayout *tabItem="{title: 'Household',  iconSource: 'res://logo_white_bg'}">
        </StackLayout>
    
        <StackLayout *tabItem="{title: 'Health & Beauty',  iconSource: 'res://logo_white_bg'}">
        </StackLayout>
    
        <StackLayout *tabItem="{title: 'Electricity',  iconSource: 'res://logo_white_bg'}">
        </StackLayout>
    
    </TabView>

</StackLayout>

#2

Sorry,this code appears right above that posted above :slight_smile: