从Eclipse或者还是习惯以前把ic_luncher.png放到drawable下面, 还是让美工,你调整不同比例的图标吧,不太适配.....到现在应该可以暂时摒弃一下这些做法了。AS为我们提供了更方便的制作icon的方式,妈妈再也不用担心图标适配了了.....
这里我就是以相对简单的制作方式来说明下。至于图标适配的文章网上肯定很多,有些可能比较复杂,需要利用美术提供的前景背景来搞。不过大部分我觉得还是比较简单的。。
另外提到drawable和mipmap的问题,这里有官方解释:
Mipmapping for drawables
Using a mipmap as the source for your bitmap or drawable is a simple way to provide a quality image and various image scales, which can be particularly useful if you expect your image to be scaled during an animation.
Android 4.2 (API level 17) added support for mipmaps in the Bitmap class—Android swaps the mip images in your Bitmap when you’ve supplied a mipmap source and have enabled setHasMipMap(). Now in Android 4.3, you can enable mipmaps for a BitmapDrawable object as well, by providing a mipmap asset and setting the android:mipMap attribute in a bitmap resource file or by calling h