Reputation: 826
I found the drawable folder in my android/sdk folder but I am unsure where to copy the folder to in my project. I have a debug folder with some icons but copying the drawable folder from the android/sdk to my debug folder doesn't do anything. I would like to be able to type R.drawables. but all I get in my code when I type R.drawable. is a list of abc_ icons. see picture. I want to copy the entire android 21 drawable folder or whatever i need to copy out of the android 21 folder to add the icons to my project.
Upvotes: 0
Views: 719
Reputation: 574
hi if u don't find the drawables create drawables in your project under the res folder and use the to that drawables you copy all your icons and use user icons.
Upvotes: 0
Reputation: 71
Copy your image in the drawable folder of your project, not in the android sdk drawable folder.
You can use the images in XML by using <ImageView ... src="@drawable/yourimageview" />
Upvotes: 1
Reputation: 574
just copy past those .png icons to your project drawables and rename with related name and remove the special(_a_holo) etc characters in those .png which copied into your project. example do: abcholo.png give like this.
Upvotes: 1