Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin.Forms Hamburger Menu Icon gone after Update to Xamarin.Forms 2.2

After I updated my Xamarin.Forms project from Xamarin.Forms 2.0 to Xamarin.Forms 2.2, the Hamburger Icon is gone.

I've googled without luck, has anybody experienced the same issue?

like image 504
The Chris Avatar asked Apr 29 '16 08:04

The Chris


1 Answers

If the default icon has disappeared you can set your own icon of the Master page for example:

public class MasterPage : MasterDetailPage
{
    FlyOutMenuPage menu = new FlyOutMenuPage ();
    Master = menu;
}

public class FlyOutMenuPage : ContentPage
{
    Icon = "menu.png";
} 

And menu.png is a resource image, you can get lots of icon from here:

https://www.iconfinder.com/search/?q=hamburger&price=free

like image 136
Mario Galván Avatar answered Sep 28 '22 10:09

Mario Galván