简体   繁体   English

Android应用启动图标大小

[英]Android app launch icon size

Following Google's guidelines, I've added 48x48 and 72x72 launcher icons to my project for mdpi and hdpi screens. 遵循Google的指导原则,我为我的项目添加了48x48和72x72启动器图标,用于mdpi和hdpi屏幕。

In some situations though, the icon is resized. 但在某些情况下,图标会调整大小。 For example on my Acer Iconia A200 tablet (mdpi), the app launcher menu uses a 64x64 icon (more or less, I've measured this from a screenshot). 例如,在我的Acer Iconia A200平板电脑(mdpi)上,应用程序启动器菜单使用64x64图标(或多或少,我从屏幕截图中测量了这一点)。 The actual resource used is my 48x48 icon, stretched. 使用的实际资源是我的48x48图标,拉伸。

Is there a way I can add versions of the launcher icon to my project with more size options than hdpi/mdpi/ldpi? 有没有办法我可以使用比hdpi / mdpi / ldpi更多的尺寸选项将启动器图标的版本添加到我的项目中?

Thanks in advance. 提前致谢。

EDIT: Today's software update for the Acer Iconia Tab A200 fixed the problem for me; 编辑:今天Acer Iconia Tab A200的软件更新为我解决了问题; the launcher now uses a 72x72 icon. 启动器现在使用72x72图标。

您可以使用xlarge限定符,虽然我怀疑平板电脑使用的是48x48以外的尺寸,我使用的是48x48图标,它在Galaxy 10.1平板电脑上工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM