Brauchen Sie Hilfe auf dem Kongress Symbol Dateibenennungs für Toolbar-Symbol wie folgt:Icon Dateiname Konvention für Toolbar Icon
<ContentPage.ToolbarItems>
<ToolbarItem Name="MenuItem1" Order="Primary" Icon="IconLogout" Priority="0" />
<ToolbarItem Name="MenuItem2" Order="Primary" Icon="IconMain" Priority="1" />
</ContentPage.ToolbarItems>
My Icon filename convention :
Default size size 40 x 40
------------ -----------------
1) for iOS : IconLogout [email protected]
2) for Droid: IconLogout IconLogout
- create icon w 48x48 and place it in medium-density (MDPI)
Frage:
Was wird das sein Dateiname Konvention für Xamarin Formen so wird es holen die richtige Icon-Datei?
a) Kann ich dies für (1)
Dateiname: Icon_Logout, Icon_Logout_40 @ 2x
Wie Xamarin Form weiß, welche Teil des Dateinamens als gemeinsamer Teil verwendet wird?
b) was ist xamarin forms filename convention?
Dank
ersetzen & mit @. So ist der eindeutige Teil & 2x oder & 3x, so niedrig Auflösung iphone sucht nach Dateiname ohne & 2x. Wenn ich mit Icon = "Icon_Logout" gestartet habe und ich iphone7s verwende, wird Icon_Logout_40 @ 2x abgerufen, wenn auch Icon_Logout_80 & 2x vorhanden ist oder eine Datei mit Icon_Logout_80_OK & 2x beginnt. Oder muss mein Standard meinen 1. Teil des Dateinamens vor & 2x? – MilkBottle