I´m developing an app in xamarin forms and I want to know how show an icon in a menu, the image of this icon is in the resource folder (drawable). The menu is in a Inavigation page in the same project.
I´m trying this with the next code, but it doesn´t work:
*var iconlogin = new ToolbarItem
{
Icon = "login.png"};*`
*new Sample("Login", typeof(LoginPage), SampleData.DashboardImagesList[0], iconlogin.Icon, false, false)*