Icon sizes- Xamarin.forms

一笑奈何 提交于 2021-02-18 07:45:06

问题


I am working on Xmarin.forms project. I have many icons in the app. what should be the size of the icons for each platform? I know android supports

Android

72x72 - drawable
72x72 - drawable-hdpi
96x96 - drawable-xhdpi
144x144 - drawable-xxhdpi

iOS

57x57
114x114
120x120
72x72
144x144
76x76
152x152
28x28
58x58
50x50
100x100
40x40
80x80
512x512
1024x1021

This sizes are only for the logo icons? Or all the icons including toolbar icon and burger menu(using master details) has to follow this resolutions? And what size images I can use for splash screen for android,iOs and windows phone? And what are icon sizes for windows phone?

Please guide me on this.


回答1:


It depends per platform, per control. The best would be to refer to the platform specific documentation about user interfaces.

You can find Apple's here.

The one for Android can be found here.

The Windows one can be found here.

Or have a look at this aggregated site with all sizes and flavours in one place.

Also there are some generation tools, at least for the app icons, etc. For example have a look at Make App Icon.

Last but not least; have a good look at how each platform handles icons and sizes. For iOS and Android it has to do with naming conventions or in which folder you put your icons. This is to support all resolutions out there.



来源:https://stackoverflow.com/questions/36621308/icon-sizes-xamarin-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!