标准的Andr​​oid菜单图标,例如刷新 [英] Standard Android menu icons, for example refresh

查看:107
本文介绍了标准的Andr​​oid菜单图标,例如刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android SDK中提供的标准菜单图标通过 android.R.drawable.X 。然而,一些标准的图标,如 ic_menu_refresh (刷新图标),缺少从 android.R

The Android SDK offers the standard menu icons via android.R.drawable.X. However, some standard icons, such as ic_menu_refresh (the refresh icon), are missing from android.R.

有没有什么办法让原来的图标,也许通过从应用程序中提取呢?我已经检查了Android的源代码,但它是一个有点过于庞大寻找处处为图像。

Is there any way to get the original icons, maybe by extracting them from the applications? I already checked the Android source, but it's a bit too huge to look everywhere for the images.

我知道<打击> Android的可绘制 的网站,但我想,以获得正确的华电国际 MDPI LDPI 的版本,preferable原有的。

I know the Android Drawables website, but I would like to get the correct hdpi, mdpi and ldpi version, preferable the original ones.

推荐答案

没关系,我发现它在源代码中:<一href="https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/">base.git/core/res/res和子目录。

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

正如其他的评论说,如果你有Android的SDK安装它也是您的计算机上。路径是 [SDK] /平台/ android- [版本] /数据/ RES

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.

这篇关于标准的Andr​​oid菜单图标,例如刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆