Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standard Android menu icons, for example refresh [closed]

People also ask

How do you refresh icons on Android?

the easy answer is... in your project, select your drawable folder, hit F5 to refresh all the drawables, then send a new build to the phone. if it doesnt work the first time, change some code to let it know it needs to rebuild some stuff, then send it to the emulator again.

How do I get icons on my Android?

Go to Settings > Themes to download and apply icon packs on Samsung devices. You can download and install custom icons via Google Play Store on any Android device. You may need to install a launcher to change app icons.


Never mind, I found it in the source: base.git/core/res/res and subdirectories.

As others said in the comments, if you have the Android SDK installed it’s also on your computer. The path is [SDK]/platforms/android-[VERSION]/data/res.


Bear in mind, this is a practice that Google explicitly advises not to do:

Warning: Because these resources can change between platform versions, you should not reference these icons using the Android platform resource IDs (i.e. menu icons under android.R.drawable).

Rather, you are adviced to make a local copy:

If you want to use any icons or other internal drawable resources, you should store a local copy of those icons or drawables in your application resources, then reference the local copy from your application code. In that way, you can maintain control over the appearance of your icons, even if the system's copy changes.


Maybe a bit late. Completing the other answers, you have the hdpi refresh icon in:

"android_sdk"\platforms\"android_api_level"\data\res\drawable-hdpi\ic_menu_refresh.png


After seeing this post I found a useful link:

http://developer.android.com/design/downloads/index.html

You can download a lot of sources editable with Fireworks, Illustrator, Photoshop, etc...
And there's also fonts and icon packs.

Here is a stencil example.


You can get the icons from the android sdk they are in this folder

$android-sdk\platforms\android-xx\data\res