115

Possible Duplicate:
Standard Android menu icons, for example refresh

Where can I find the name of the default Android menu icons (like refresh or compose)?

The code below has an error stating that the resource is not public

<item
    android:id="@+id/preference"
    android:icon="@android:drawable/ic_menu_refresh"
    android:showAsAction="ifRoom" />
Community
  • 1
  • 1
Blake
  • 7,367
  • 19
  • 54
  • 80
  • 4
    [Material Design Icons Index](https://google.github.io/material-design-icons/), download from [GitHub](https://github.com/google/material-design-icons). – naXa stands with Ukraine Apr 25 '15 at 12:28
  • Link shared in Jagdeep Singh's answer is perfect answer. Its by Google itself: https://design.google.com/icons/ – Atul Jun 02 '16 at 18:35
  • Related post - [How to use default Android drawables](https://stackoverflow.com/q/3201643/465053) & [Where are all the standard Android icon resources?](https://stackoverflow.com/q/7352898/465053) – RBT Aug 10 '18 at 00:53

3 Answers3

136
\path-to-your-android-sdk-folder\platforms\android-xx\data\res
frogatto
  • 28,539
  • 11
  • 83
  • 129
Tomislav Novoselec
  • 4,570
  • 2
  • 27
  • 22
96

you can use

android.R.drawable.xxx

(use autocomplete to see whats in there)

Or download the stuff from http://developer.android.com/design/downloads/index.html

koljaTM
  • 10,064
  • 2
  • 40
  • 42
37

You can find the default Android menu icons here - link is broken now.

Update: You can find Material Design icons here.

Community
  • 1
  • 1
Jagdeep Singh
  • 885
  • 6
  • 18