的纹理映射启动图标的Andr​​oid 4.2之前的用法? [英] Usage of mipmap launcher icons before Android 4.2?

查看:144
本文介绍了的纹理映射启动图标的Andr​​oid 4.2之前的用法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Android的资产工作室生成我的启动器图标,我已经看到,输出现在创建绘制文件夹的多重映像文件夹代替。

I'm using Android Asset Studio to generate my launcher icon and I've seen that the output is now creating mipmap folders instead of drawable folders.

由于纹理映射的支持已经由于Android 4.2加入我的应用程序是针对ICS 4.0.3(API 15)。它是安全的使用它们呢?再没有在可绘文件有任何ic_launcher图标?

Since mipmap support has been added since Android 4.2 and my application is targeting ICS 4.0.3 (API 15). Is it safe to use them ? and then don't have any ic_launcher icon in drawables folders ?

更新的我确认它的正常工作。您只能使用纹理映射的应用程序图标的文件夹

update I confirm it's working fine. You can only use mipmap folders for Application icon

推荐答案

我没能找到说这将工作在Android版本低于4.2的官方文件。然而,这些纹理映射资源文件夹开始出现在与蜂窝附带的apk文件,所以什么比这更新将有支持,这将是安全的假设。

I was not able to find official documentation that stated this will work on Android versions older than 4.2. However these mipmap resource folders started appearing in apk files that shipped with Honeycomb, so anything newer than that will have support it would be safe to assume.

我已经测试只用了贴图在物理设备上的启动器图标的应用程序,并且对版本4.0.3及以上没有问题。我没有在蜂巢,姜饼及以上。

I have tested an app using only mipmaps for the launcher icon on physical devices and had no issues on versions 4.0.3 and higher. I have not tested on Honeycomb, Gingerbread and older.

有关在Android的工作室贴图的详细信息,看看这个网站:

For more information about mipmaps in Android Studio, take a look at this site:

<一个href="https://androidby$c$c.word$p$pss.com/2015/02/14/goodbye-launcher-drawables-hello-mipmaps/">https://androidby$c$c.word$p$pss.com/2015/02/14/goodbye-launcher-drawables-hello-mipmaps/

这篇关于的纹理映射启动图标的Andr​​oid 4.2之前的用法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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