Reputation: 1579
When I go into the res folder for my project I only see the drawable-hdpi, drawable-ldpi, and drawable-mdpi folders. Every tutorial I've read says put the image in the drawable folder. Am I supposed to have one?
Upvotes: 3
Views: 8891
Reputation: 39
drawable
(under folder "res
"). You should be able to see the drawable
folder
Upvotes: 2
Reputation: 7925
If you have a PNG image file you should place it into drawable-ldpi, drawable-mdpi or drawable-hdpi, depending on its resolutions. Ideally you should provide three versions (or four, with xhdpi) of your bitmap for the different screen pixel densities.
If you have a drawable resource defined in XML that is independent of pixel dentity (e.g. a Shape Drawable) you should place it in drawable.
Upvotes: 4
Reputation: 36045
It doesn't get created automatically when you create the project like the others. Just create a folder named drawable
in the same location as those other folders. You also do this for anim
, animator
, values-x
, raw
, menu
, and basically any other specialty resource folder that you may need.
Upvotes: 10