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

I integrate ActionBarSherlock into my application, and I want to have several menus with some elements and corresponding icons.

I looked through the samples and documentation, and everything seems clear, but when I inflate the menu, I see only the text, because there are no icons associated with each element.

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

Android New Project Clipart

But I can not find it, and I do not want to use the direct link to android.R.drawable to use these icons for images, because I read that it is recommended to have files in folders with a choice.

+7
source share
4 answers
android-sdk/platforms/android-xx/data/res/drawable-yyyy 

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

Copy the necessary icons to the appropriate resource folder in your project.

+15
source

I usually use Android Asset Studio to create icons for my applications. It has all the standard clipart and can create the corresponding files for all other icons.

+8
source

http://developer.android.com/design/downloads/index.html the site has an icon with the Action Bar icon

+6
source

You can use the system icons using the @android: prefix. The icon is not copied to the drop-down folders, so the application size is smaller

Example: android:icon="@android:drawable/ic_menu_preferences"

List of icons on / platform / android - / data / res / drawable-hdpi

Note 1: If you want to copy the icons to the drop-down files, you can also do this in eclipse using the file / new / other / Anddoid set set / clip button / select button.

Note 2: the icon set may vary among platforms. That is why people offer to copy resources. If the application is under development, you can simply link the platform icons

+3
source

All Articles