How to change menu icon in xamarin forms master detail page

amr_kamalamr_kamal Member ✭✭✭

I'm trying to change menu icon in master page in xamarin forms but nothing changing

this is my code

 public MainNavigationPage()
            Detail = new NavigationPage(new TabPage());
            Master.Icon = "cart.png";

and in xaml

        <ContentPage Title="Menu" Icon="cart.png">
            <StackLayout Padding="20">
                <!-- TODO: // Update the Layout and add some real menu items  -->
                <Button Text="ViewA" BackgroundColor="Black" Command="{Binding NavigateCommand}" CommandParameter="ViewA" />

also i tried this solution in stackoverflow but unfortunately still the same problem


Sign In or Register to comment.