Theare no different folders available on Android Studio

I am trying to integrate various image sizes into my application, but the problem is that in Android Studio there are no drawable-Idpi, mdpi, hdpi, xhdpi folders. I checked already other threads, and the answers were that I just needed to skip the Project view instead of Android. But the results are the same. There is only one generator folder called drawable

enter image description here

enter image description here

And if I try to add another folder with resources, then the drop-down file is missing.

enter image description here

+4
source share
3 answers

Just create a new folder:

Right-click the "res" folder → New → Android Resource Directory.

drawable " ". "" .

"mipmaps", Android , .

mipmaps : http://android-developers.blogspot.de/2014/10/getting-your-apps-ready-for-nexus-6-and.html

+14
. , , http://www.icons4android.com/

drawable-Idpi, mdpi, hdpi, xhdpi , , drawable-Idpi, mdpi, hdpi, xhdpi, , res. ( )

,

+2

You can create a folder just like drawable, drawable-hdpi, mdpi, xxhdpi ... etc

It looks like

enter image description here

But when you see the source code using

enter image description here

enter image description here

Add images to draweble, ask you which folder you want to add to (copy n images in the studio)

enter image description here

You can directly create a folder in res, it also works ...

0
source

All Articles