I have tried changing the actual image size of every SendMessage.png in my Xamarin Forms drawable folders yet the image renders the same. Can I programmatically change the icon in my xaml code below?
<ContentPage.ToolbarItems> <ToolbarItem Icon="SendMessage.png" Text="Contact Us" Clicked="SendMessageClicked" /> </ContentPage.ToolbarItems>
Answers
You have to implement it on each platform.
The renderer on iOS:
On Android, you need to add this values in the styles.xml: