I am completely new with Android/Eclipse. I can\'t figure out how to add an image in the /res/drawable
folder of my Android Eclipse project.
Open folder path of Android application, open src
folder then Add your image in /res/drawable
folder
For Android Studio:
Right click on res, new Image Asset
On Asset type choose Action Bar and Tab Icons
Choose the image path
Give your image a name in Resource name
Next->Finish
The image will be saved in the /res/drawable folder!
Right click on drawable folder_new_file- click on advanced button_ link to file in the file system_ then click on browse. finish
When inserting an image into the drawable folders, another import point in addition to the "no capital letters" rule is that the image name cannot contain dashes or other special characters.
Just copy the image and paste into Eclipse in the res/drawable
directory. Note that the image name should be in lowercase, otherwise it will end up with an error.
Copy the image CTRL + C then in Eclipse select drawable folder, right click -> Paste