Usage of mipmap launcher icons before Android 4.2?

前端 未结 3 1140
北恋
北恋 2020-12-16 12:09

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.

Since mipmap

3条回答
  •  太阳男子
    2020-12-16 12:51

    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.

    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.

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

    https://androidbycode.wordpress.com/2015/02/14/goodbye-launcher-drawables-hello-mipmaps/

提交回复
热议问题