I've read about the mipmap folders for launcher icons in Managing Launcher Icons as mipmap Resources and How should we use the mipmap folders added with android 4.4?.
Is there a minimum SDK version required to use this? Is there a specific target sdk below which this won't work? I'd like to support:
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="19"/>
Usage of mipmap launcher icons before Android 4.2? has a similar question, but no definitive answer. If I need to support Android 2.3.4 should I put launcher icons in the mipmap folders and in the drawable folders?
Since R.mipmap
was added in SDK 11 or Honeycomb as seen in Android docs, I would say that the minimum SDK to use Mipmap folders in Android is SDK 11. This means you will need to keep using the drawable folders if you wish to keep supporting Android 2.3.
Edit: So I have been doing some digging into AOSP and it seems to come with a MipmapDrawable class since Android 2.1. The class was then hidden for Honeycomb's more integrated Mipmap resource system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With