如何在 Android 中设置正确的应用程序图标大小,包括 Amazon Kindle Fire?
到目前为止,我一直使用下一个应用程序图标尺寸:
- ldpi 36x36
- mdpi 48x48
- hdpi 72x72
- xhdpi 96x96
- xxhdpi 144x144
但是,对于 Amazon Kindle Fire,情况有所不同,因为它在“轮播”上显示图标,从而放大了它们很多。这意味着图标非常模糊,因为它使用 mdpi 图标。
我在网上查了一下,我发现对于Kindle Fire,我需要在drawable-mdpi文件夹上放置一个200x200的图标。然而,这可能会导致其他一些 mdpi 设备(例如 optimus 设备)出现奇怪的情况。例如,如果我在通知中使用该图标(无论是临时图标还是粘贴在通知栏中的图标),它都会被放大/裁剪。
我应该怎么办?我不喜欢为 Android 市场制作一个版本而为 Amazon 市场制作一个不同的版本,或者以某种方式将 200x200 图标设置为仅适用于 Kindle Fire。 原因是新的 Android 设备总是会被创建,而我不能仅仅为了检查它们在它们上是否看起来也很好而购买它们。
有没有办法使用单个、非常高质量的应用程序图标?
So far, I've always used the next application icons sizes :
- ldpi 36x36
- mdpi 48x48
- hdpi 72x72
- xhdpi 96x96
- xxhdpi 144x144
However, for Amazon Kindle Fire, the situation is different, since it shows the icons on a "carousel", which enlarges them a lot. This means a very blurry icon since it uses the mdpi icon.
I've checked on the internet, and I saw that for the Kindle Fire, I need to put a 200x200 icon on the drawable-mdpi folder. However, this can result in weird things on some other mdpi devices, like the optimus one. For example, if I use the icon in a notification (either the temporary one or the one that sticks in the notification bar), it is enlarged/cropped.
What should I do? I don't like the idea of making a version for the android market and a different one for the Amazon market, or somehow set the 200x200 icon to specifically work only for Kindle Fire.
the reason is that new Android devices are always created, and I cannot afford to buy them all just to check that it looks fine on them too.
Is there maybe a way to use a single, very high quality app icon?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
根据Kindle Fire开发教程:
According to a Kindle Fire development tutorial :
创建资源drawable-large-mdpi文件夹并将200x200图标放在那里,它可能会起作用。
我还建议检查此处
create folder to resource drawable-large-mdpi and put 200x200 icon there, it may work.
Also i recommend to check here
好吧,看来一旦我把应用程序放在亚马逊应用程序商店上,也许就可以使用最好的图标了。
参考文献:
http://mobile.tutsplus.com /tutorials/android/getting-started-with-kindle-fire-development/
https://developer.amazon.com/help/faq.html
如何在非 Amazon AppStore Kindle Fire 应用程序中嵌入高分辨率图标?
ok , it seems that once i put the app on the amazon app store, it might be possible to use the best icon.
references:
http://mobile.tutsplus.com/tutorials/android/getting-started-with-kindle-fire-development/
https://developer.amazon.com/help/faq.html
How to embed a high-resolution icon in a non-Amazon-AppStore Kindle Fire app?
只是为了让您意识到并提醒:
kindle fire 上的轮播图标应参考Amazon Guide Lines :
但根据 android 标准,启动器图标大小不是而不是:
我也尝试使用以下,但仍然不确定的行为
Just to make you aware and remind :
The Carousel icon on the kindle fire should be as referred to the Amazon Guide Lines :
But as per android standards , Launcher Icon Size is non rather than :
I also tried to use following , but still un-certain behavior