图标大小-Xamarin.forms [英] Icon sizes- Xamarin.forms

查看:81
本文介绍了图标大小-Xamarin.forms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究Xmarin.forms项目.我在应用程序中有很多图标.每个平台的图标大小应该是多少?我知道android支持

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

此尺寸仅适用于徽标图标吗?还是所有图标(包括工具栏图标和汉堡菜单)(使用主详细信息)都必须遵循此解决方案?我可以在Android,iOs和Windows Phone的启动画面中使用什么尺寸的图像?Windows Phone的图标大小是多少?

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?

请对此进行指导.

推荐答案

这取决于每个平台,每个控件.最好是参考有关用户界面的平台特定文档.

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

您可以在Apple的此处找到.

You can find Apple's here.

可在此处.

可以找到Windows一个这里.

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.

最后但并非最不重要;很好地了解每个平台如何处理图标和大小.对于iOS和Android,它与命名约定或将图标放置在哪个文件夹中有关.这是为了支持那里的所有分辨率.

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.

这篇关于图标大小-Xamarin.forms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆