首页 > 代码库 > Android 自带图标库 android.R.drawable

Android 自带图标库 android.R.drawable

在xml文件中调用。

android:title="@string/secure_connect"
android:orderInCategory="100"
android:icon="@android:drawable/ic_menu_search"

  android:drawableRight="@android:drawable/arrow_down_float"/>

程序中调用。

setIcon(android.R.drawable.stat_notify_error)

 

 

Android 自带图标库 android.R.drawable

Android? 2.1 android.R.drawable Icon Resources

  • Android? 1.5 android.R.drawable Icon Resources
  • Android? 1.6 android.R.drawable Icon Resources
  • Android? 2.1 android.R.drawable Icon Resources
  • Originated from: http://www.darshancomputing.com/android/1.5-drawables.html

This is a list of resources in Android 2.1‘s android.R.drawable that might be useful as icons in your Android applications. You can use them like this:

Java Usage example:

myMenuItem.setIcon(android.R.drawable.ic_menu_save);

Resource Usage example:

android:icon="@android:drawable/ic_menu_save"

clip_image001
alert_dark_frame

clip_image002
alert_light_frame

clip_image003
arrow_down_float

clip_image004
arrow_up_float

clip_image005
bottom_bar

clip_image006
btn_default

clip_image007
btn_default_small

clip_image008
btn_dialog

clip_image009
btn_dropdown

clip_image010
btn_minus

clip_image011
btn_plus

clip_image012
btn_radio

clip_image013
btn_star

clip_image013[1]
btn_star_big_off

clip_image014
btn_star_big_on

clip_image015
button_onoff_indicator_off

clip_image016
button_onoff_indicator_on

clip_image017
checkbox_off_background

clip_image018
checkbox_on_background

clip_image019
dark_header

clip_image001[1]
dialog_frame

clip_image020
divider_horizontal_bright

clip_image021
divider_horizontal_dark

clip_image022
divider_horizontal_dim_dark

clip_image023
divider_horizontal_textfield

clip_image024
edit_text

clip_image025
editbox_background

clip_image025[1]
editbox_background_normal

clip_image026
editbox_dropdown_dark_frame

clip_image027
editbox_dropdown_light_frame

clip_image028
gallery_thumb

clip_image029
ic_btn_speak_now

clip_image030
ic_delete

clip_image031
ic_dialog_alert

clip_image032
ic_dialog_dialer

clip_image033
ic_dialog_email

clip_image034
ic_dialog_info

clip_image035
ic_dialog_map

clip_image036
ic_input_add

clip_image037
ic_input_delete

clip_image038
ic_input_get

clip_image039
ic_lock_idle_alarm

clip_image040
ic_lock_idle_charging

clip_image041
ic_lock_idle_lock

clip_image042
ic_lock_idle_low_battery

clip_image043
ic_lock_lock

clip_image044
ic_lock_power_off

clip_image045
ic_lock_silent_mode

clip_image046
ic_lock_silent_mode_off

clip_image047
ic_media_ff

clip_image048
ic_media_next

clip_image049
ic_media_pause

clip_image050
ic_media_play

clip_image051
ic_media_previous

clip_image052
ic_media_rew

clip_image053
ic_menu_add

clip_image054
ic_menu_agenda

clip_image055
ic_menu_always_landscape_portrait

clip_image056
ic_menu_call

clip_image057
ic_menu_camera

clip_image058
ic_menu_close_clear_cancel

clip_image059
ic_menu_compass

clip_image060
ic_menu_crop

clip_image061
ic_menu_day

clip_image062
ic_menu_delete

clip_image063
ic_menu_directions

clip_image064
ic_menu_edit

clip_image065
ic_menu_gallery

clip_image066
ic_menu_help

clip_image067
ic_menu_info_details

clip_image068
ic_menu_manage

clip_image069
ic_menu_mapmode

clip_image070
ic_menu_month

clip_image071
ic_menu_more

clip_image072
ic_menu_my_calendar

clip_image073
ic_menu_mylocation

clip_image074
ic_menu_myplaces

clip_image075
ic_menu_preferences

clip_image076
ic_menu_recent_history

clip_image077
ic_menu_report_image

clip_image078
ic_menu_revert

clip_image079
ic_menu_rotate

clip_image080
ic_menu_save

clip_image081
ic_menu_search

clip_image082
ic_menu_send

clip_image083
ic_menu_set_as

clip_image084
ic_menu_share

clip_image085
ic_menu_slideshow

clip_image086
ic_menu_sort_alphabetically

clip_image087
ic_menu_sort_by_size

clip_image088
ic_menu_today

clip_image089
ic_menu_upload

clip_image090
ic_menu_upload_you_tube

clip_image091
ic_menu_view

clip_image092
ic_menu_week

clip_image093
ic_menu_zoom

clip_image094
ic_notification_clear_all

clip_image095
ic_notification_overlay

clip_image096
ic_partial_secure

clip_image097
ic_popup_disk_full

clip_image098
ic_popup_reminder

clip_image099
ic_popup_sync

clip_image100
ic_search_category_default

clip_image101
ic_secure

clip_image102
menu_frame

clip_image103
menu_full_frame

clip_image104
picture_frame

clip_image105
presence_away

clip_image106
presence_busy

clip_image107
presence_invisible

clip_image108
presence_offline

clip_image109
presence_online

clip_image110
progress_indeterminate_horizontal

clip_image111
radiobutton_off_background

clip_image112
radiobutton_on_background

clip_image113
spinner_background

clip_image114
spinner_dropdown_background

clip_image115
star_big_off

clip_image116
star_big_on

clip_image117
star_off

clip_image118
star_on

clip_image119
stat_notify_call_mute

clip_image120
stat_notify_chat

clip_image121
stat_notify_error

clip_image122
stat_notify_missed_call

clip_image123
stat_notify_more

clip_image124
stat_notify_sdcard

clip_image125
stat_notify_sdcard_prepare

clip_image126
stat_notify_sdcard_usb

clip_image127
stat_notify_sync

clip_image127[1]
stat_notify_sync_noanim

clip_image128
stat_notify_voicemail

clip_image129
stat_sys_data_bluetooth

clip_image130
stat_sys_download

clip_image130[1]
stat_sys_download_done

clip_image131
stat_sys_headset

clip_image132
stat_sys_phone_call

clip_image133
stat_sys_phone_call_forward

clip_image134
stat_sys_phone_call_on_hold

clip_image135
stat_sys_speakerphone

clip_image136
stat_sys_upload

clip_image136[1]
stat_sys_upload_done

clip_image137
stat_sys_vp_phone_call

clip_image138
stat_sys_vp_phone_call_on_hold

clip_image139
stat_sys_warning

clip_image140
status_bar_item_app_background

clip_image141
status_bar_item_background

clip_image142
sym_action_call

clip_image143
sym_action_chat

clip_image144
sym_action_email

clip_image145
sym_call_incoming

clip_image146
sym_call_missed

clip_image147
sym_call_outgoing

clip_image148
sym_contact_card

clip_image149
sym_def_app_icon

clip_image150
title_bar

clip_image151
title_bar_tall

clip_image152
toast_frame

clip_image153
zoom_plate

 http://docs.since2006.com/android/2.1-drawables.php

Android 自带图标库 android.R.drawable