2
votes

There are many posts which suggest that you should use the mipmap folders for your app icons. This seems to have come in android 4.3

I intend to support older android devices (Android 2.3.3 and above). I have:

minSDK: android-10
targetSDK: android-10

Does this mean I have to create drawable folders too ? What will happen if I put my app icons only in the mipmap folders and do not create drawable folders ? I only have a device with android 4.4.4 so I cannot test with earlier devices. What should I do ?

2
it is not a duplicate - that question applied for android 4.3 and above. If my target sdk is 2.3.3, then the api in question won't exist. So it is unclear what will happen. Hence my question.Rahul Iyer
use an emulator with gingerbread to test the behaviour.Blackbelt
Isn't there any documentation so I can verify the official behaviour ?Rahul Iyer
@John So have you been able to use it in 2.3.3 without any crashes ?Ahmed

2 Answers

0
votes

According to this post the mipmap folder are only to keep the app icons. The other images and icons used in application should be kept in associated drawable folders!

0
votes

App icon(logo) should only be in mipmap folder. Placing the different size if images in the mipmap folder will show icons in every android phone. Drawble folder contain images which is used inside the app. Short You don't need to put app icon in drawable if you already have it in mipmap folder.