Android Studio Create Drawable Folder for Different Screen Density (Easy)

Опубликовано: 30 Май 2026
на канале: RocksCoder
33,127
111

How to create drawable folders in android studio:

The standard procedures are:

1. Choose Project - app - scr - main.
2. Right click "res", choose "New" and choose "Android resource directory"
3. In the opened dialog, at Resource Type choose "drawable"
4. In the list Available qualifier choose Density, then click the right arrow at the middle.
5. Choose the Density that you like then press OK


In android studio you may see the following folder drawable xhdpi, drawable-hdpi, drawable-mdpi and more... You can put images of different dpi in these folder accordingly and android will take care which images should be draw according to the screen density of device.