Hi
I do have a problem showing an icon in Android within a ToolbarItem. With iOS there is no problem.
Some background info:
Framework.Xamarin.Forms
- Contains following code:
toolbarItem = new ToolbarItem() { Icon = action.Icon, Text = action.Icon == null ? action.Text : null, Order = ToolbarItemOrder.Primary, Command = action.Command, CommandParameter = action.CommandParameter };
DemoApp.Droid
- Resources
- drawable
- Image.png
In my ContentView I set the icon.
Why is the icon (Image.png -> 20x20 ) not shown in my ToolbarItem?
I hope someone can help me out.
Kind regards