![]() ![]() For xxhpdi launcher icons, be sure to add the higher resolution xxxhdpi versions of the icons to enhance the visual experience of the icons on higher resolution devices. App uses mipmap/ folders instead of the drawable/ folders for launcher icons. It makes sure launcher apps show a high-resolution icon for your app by moving all densities of your launcher icons to density-specific res/mipmap/ folders (for example res/mipmap-mdpi/ and res/mipmap-xxxhdpi/). The Android system never strips this resource, and ensures that launcher apps can pick icons with the best resolution for display. To avoid this issues, applications should use the mipmap drawable folders for app launcher icons. ![]() Resource optimisation techniques sometimes removes resources for unused screen densities and when the launcher app has to upscale a lower-resolution icon for display it might look blurred. Why we should use mipmaps for app launcher icons?ĭevices have different resolutions so the launcher app show the icons on different resolutions. We put our mipmap drawables in mipmap/ directory under res/ folder. This is exactly like normal drawable folder resources, except it does not participate in density stripping while resource optimisation when creating different target apks. ![]() If you are building different versions of your app for different densities, you should know about the mipmap resource directory. mipmap first introduced in Android Jelly Beans 4.3. Android introduced mipmap drawables for providing more flexibility to design the launcher icons. ![]()
0 Comments
Leave a Reply. |