开发学院手机开发Android 开发 调用 Android 内置图片的方法 阅读

调用 Android 内置图片的方法

 2010-02-27 04:25:00 来源:WEB开发网 闂侀潧妫撮幏锟�闂佸憡鍨电换鎰版儍椤掑倵鍋撳☉娆嶄沪缂傚稄鎷�婵犫拃鍛粶闁靛洤娲ㄩ埀顒佺⊕閵囩偟绱為敓锟�闂侀潧妫撮幏锟�  闂佺ǹ绻楀▍鏇㈠极閻愭娑樷枎閹邦剛娉氶梺鍛婎殔濞层劌鈻撻幋婵愬殫妞ゆ梻鍘х憴锟�
核心提示:可以在android源代码里找 frameworksasecoreesesdrawablehttp://developer.android.com/guide/practices/ui_guidelines/icon_design.html Standard menu iconsShown below are sta

可以在android源代码里找 frameworksasecoreesesdrawable

http://developer.android.com/guide/practices/ui_guidelines/icon_design.html

Standard menu icons

Shown below are standard menu icons that are included in the Android platform (as of Android 1.5). You can reference any of these icon resources from your application as needed, but make sure that the action you assign to the icon is consistent with that listed. Note that this is not a complete list of icons and that the actual appearance of standard icons may change across platform versions.

To reference one of the icons from your code, use android.R.drawable.. For example, you can call a menu item's setIcon() method and pass the resource name:

.setIcon(android.R.drawable.ic_menu_more);.

You could reference the same icon from a layout file using android:icon="@android:drawable/ic_menu_more">.

To determine the resource ID for an icon listed below, hover over the icon or simply look at image filenames, which use the format ".png".

Android asset

Add

Android asset

Call

Android asset

Camera

Android asset

Clear / Close / Cancel / Discard

Android asset

Compass

Android asset

1 2 3  下一页

Tags:调用 Android 内置

编辑录入:coldstar [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接