Reputation: 1007
I am using the iconimagesource on my masterdetail page to display an icon as the burger menu. I am using a tiny icon, and it is rendered pixelated
If I were to use an image with higher res, it would be rendered bigger until it is finally leaving its container. it looks terrible.
I think I would need a custom renderer to renderer the icon here, since I cannot add atributes to the XAML:
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="InteriorCircle.Pages.MainMenu.Page_MainMenuMaster"
Title="AD"
IconImageSource="{OnPlatform iOS=btn_burgermenu.png}"
>
Any ideas on how to solve this?
Upvotes: 2
Views: 493
Reputation: 14475
Why don't you use the official sample icon directly ?
Download the icon file in this link .
If you want to use your own image , just make its dimensions as 28*30
.
And place it into Resources
named it as [email protected]
.
Upvotes: 3