Android Studio drawable folders
In Android Studio, I can't figure out where to put images to be used inside the app. The drawable folder isn't broken down into drawable-hdpi, drawable-ldpi, etc. I saw another question asking this and the answer was to switch to Project view instead of Android view but drawable is only one folder there too. There is mipmap-hdpi, mipmap-ldpi, etc, but people are saying that's only for app icons. I'm confused.
Solution 1:
Actually you have selected Android from the tab change it to project.
Steps
Then you will found all folders.
Solution 2:
If you don't see a drawable folder for the DPI that you need, you can create it yourself. There's nothing magical about it; it's just a folder which needs to have the correct name.
Solution 3:
In order to create the drawable directory structure for different image densities, You need to:
- Right-click on the
\res
folder - Select
new >
android resource directory
In the
New Resource Directory
window, underAvailable qualifiers
resource type section, selectdrawable
.Add density and choose the appropriate size.