mipmap and drawable folders

Asked 2 years ago, Updated 2 years ago, 109 views

I'm using Android Studio version 1.1. I saw it while making a new project

2 In this way, only the mipmap folder contains a different DPI, but there are no files in the drawable folder. Should I put the resource file in the mipmap folder? Or do you just put the app icon?

android android-studio mipmaps drawable

2022-09-22 13:05

1 Answers

This is for putting only the app icon in the mipmap folder. You can put other resources in the drawable folder as before.

According to the Google Blog Post,

The mipmap folder is intended to handle the app icon because it provides the app icon according to the resolution of the device.

android:icon="@mipmap/ic_launcher" You can do this when you reference resources in the mipmap folder.


2022-09-22 13:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.