Search code examples
androideclipseiconsactionbarsherlock

Where are the drawables or clipart from android.R.drawable stored?


I am integrating ActionBarSherlock in my app and I want to have some menus with some items and its respective icons.

I have looked into samples and documentation, and everything seems to be clear, but when I Inflate the menu, I can see just the text because there are no icons related to each item yet.

I would like to use the icons you see when creating an android project:

Android New Project Clipart

But I can't find it, and I don't want to use direct reference to android.R.drawable in order to use those clipart icons, because I have read it is recommended to have the files in drawable folders.


Solution

  • android-sdk/platforms/android-xx/data/res/drawable-yyyy
    

    where xx is your target platform and yyyy is mdpi, hdpi, etc.

    Copy the icons you want into the appropriate resource folder in your project.