xamarin - App icon in UWP -
i new xamarin , creating uwp application. wanted know can set app icon image. had gone through may articles , question on stack-overflow looks similar, still not clear..
so question should change image logo. 24x24 shown in below image.then others badge logo , etc.?
should change images logo dimensions also?
appxmainfest.xaml
<?xml version="1.0" encoding="utf-8"?> <package ...> ... <properties> <displayname>stockdispatchapp.uwp</displayname> <publisherdisplayname>pci207</publisherdisplayname> <logo>assets\storelogo.png</logo> </properties> <dependencies> <targetdevicefamily name="windows.universal" minversion="10.0.10240.0" maxversiontested="10.0.10586.0" /> </dependencies> <resources> <resource language="en-us" /> </resources> <applications> <application id="app" executable="stockdispatchapp.uwp.exe" entrypoint="stockdispatchapp.uwp.app"> <uap:visualelements displayname="stockdispatchapp.uwp" square150x150logo="assets\square150x150logo.png" square44x44logo="assets\square44x44logo.png" description="stockdispatchapp.uwp" backgroundcolor="transparent"> <uap:lockscreen notification="" badgelogo="assets\96x96.png" /> <uap:defaulttile wide310x150logo="assets\wide310x150logo.png"></uap:defaulttile> <uap:splashscreen image="assets\splashscreen.png" /> </uap:visualelements> </application> </applications> <capabilities> <capability name="internetclient" /> </capabilities> ...
the msdn documentation provides clear description of each of images used. in bottom can see asset size tables tables contain dimensions , usage.
as square 44x44 logo, first 5 images in first row used different scales in app list.
the target images used app icons in different places around system. in unplated form, should have transparent background. can provide sizes recommended form, can provide more sizes (see documentation complete table).
Comments
Post a Comment