1
votes

While I've been messing up with my Android project in Android Studio, I had this "unneccesarily troubling" issue. On my main project (fig. 1) which I've been copying files from my test project (fig. 2) -for extra code safety- ; mipmap folders appear for every resolution seperately with resources in with corresponding resolution. But in my test project, which I've added these icons using "image asset" option instead of good old copy-pasting technique, these icons appear as icon folders with every resolution of them inside.

What causes this difference and how can I resolve it?

Type One

Fig 1: Main project with copy-pasted mipmap folder from test project.

Type Two

Fig 2: Test project including icons added with "right click on 'res' folder > new > image asset" option folder from test project.

Also, I'm open for grammatical improvements.

2
You have 'Android' as your view in Project, change it to 'Project'Mark Keen
You should not put other stuff than launcher icons in mipmap foldersMarcin Orlowski
@MarcinOrlowski I'm interested, is there a reason for not putting anything else launcher icons in mipmap folders?TheSaurus
Thanks for the article. I didn't notice selecting icon type as "launcher icons" will create an icon in "mipmap" folder whilst selecting "action bar and tab icons" and "notification icons" options will create an icon in "drawable folder" when adding new image asset.TheSaurus

2 Answers

3
votes

Try to switch to 'Project' instead of 'Android' view. (At the left top, above your project folders you will see 'Android' selected, so use 'Project').

2
votes

It's a matter of view. Above that layout if you play around with the various options, you'll realise you can easily switch between these.

Android Studio

In the first case, you're most probably in "Project" mode. In the second case it might be that it's "Android".