19

How do I get a copy of Android's overflow menu icon to use in a custom menu.

The icon in the circle

apricot
  • 3,599
  • 3
  • 19
  • 20
Born Again
  • 2,139
  • 4
  • 25
  • 27
  • 3
    download the android SDK and you can find the image in there. It is added automatically to your application when you can no longer fit anymore items on the actionbar – tyczj Jul 09 '13 at 20:05
  • A simple search of the docs or SO would show exactly where they are – codeMagic Jul 09 '13 at 20:09
  • Can you tell the path in the SDK. I can't find it. Yeah, I know that part. But I am trying to force it, so I need the icon. – Born Again Jul 09 '13 at 20:09
  • 1
    to force it all you have to do it set all your menu items to never visible `android:showAsAction="never"` – tyczj Jul 09 '13 at 20:20
  • 1
    [Rounded overflow icon in 5 sizes and all 14 colors](https://plus.google.com/109726284197282147930/posts/1BNteEadaBp) maybe useful to someone. – blizzard Jan 25 '15 at 09:14
  • Add vector asset "ic_more_vert_24dp". Find it here too: https://design.google.com/icons/index.html (Would post this as an answer but can't b/c question is closed.) – Micro Mar 22 '16 at 22:07
  • @blizzard your link is no longer working – Vadim Kotov Dec 20 '18 at 15:51

1 Answers1

39

Can somebody please provide a link to download the overflow menu icon?

http://developer.android.com

Once you have downloaded the SDK, you will find your images in:

$ANDROID_SDK/platforms/$PLATFORM/data/res/$DRAWABLE/ic_menu_moreoverflow*

where:

  • $ANDROID_SDK is wherever you installed your SDK
  • $PLATFORM is some platform directory (e.g., android-17)
  • $DRAWABLE is some major drawable directory (e.g., drawable-hdpi)

There are different versions of the image for light and dark themes and whether or not the button has the focus.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    is it safe to do `android:src="@android:drawable/ic_menu_moreoverflow"`? Eclipse doesn't suggest it and when I use it, the Layout Preview show me "another kind of overflow". – gian1200 Jan 24 '14 at 22:14
  • 3
    @gian1200: That icon is part of the SDK *distribution*, but not part of the Android APIs. Hence, you should copy the requisite files into your own project, if you wish to reuse the icons. – CommonsWare Jan 24 '14 at 22:22
  • 10
    These days, AppCompat provides: @drawable/abc_ic_menu_moreoverflow_mtrl_alpha (which is ready for tinting!). https://github.com/android/platform_frameworks_support/tree/master/v7/appcompat/res/drawable-hdpi – straya Jul 24 '15 at 07:54
  • 1
    Direct link to download the "3 dots" / "more vert" drawables: https://material.io/tools/icons/?icon=more_vert&style=baseline – ban-geoengineering Mar 28 '19 at 10:43