Issue
My code showing icon only for iOS application. How can I add tab icon in NavigationPage.Icon
for android too, xaml code
<NavigationPage Title="DairyTabPage">
<NavigationPage.Icon>
<OnPlatform x:TypeArguments="FileImageSource">
<On Platform="iOS" Value="icon_tab"/>
</OnPlatform>
</NavigationPage.Icon>
<x:Arguments>
<local:HomePage />
</x:Arguments>
</NavigationPage>
Solution
<NavigationPage Title="DairyTabPage" Icon="icon_tab">
<x:Arguments>
<local:HomePage />
</x:Arguments>
</NavigationPage>
Answered By - R15
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.