Android™ 1.5 android.R.drawable Icon Resources

http://www.darshancomputing.com/android/1.5-drawables.html

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

int icon = android.R.drawable.arrow_down_float;

You can of course copy these into your own res/drawable/ directory, but it's nice to have a reference of icons you can use directly. There are other accessible drawables in android.R.drawable, but they are more complicated (they're NinePatch drawables).

I recommend reading this thread on the Android Developers mailing list for an interesting discussion on directly using these drawables versus copying them into your project and/or designing your own icons.

Useful references:

Update: Google finally put together a list similar to this one. In many ways it supersedes this list; you should definitely check it out.

Note that these PNG images use transparency and often an alpha channel — they'll look a bit different depending on your background color. I've used a default of "Android Green", but if you have Javascript enabled, you can change that to the background color they'll use in your app.

    

arrow_down_float
arrow_down_float
arrow_up_float
arrow_up_float
btn_star_big_off
btn_star_big_off
btn_star_big_on
btn_star_big_on
button_onoff_indicator_off
button_onoff_indicator_off
button_onoff_indicator_on
button_onoff_indicator_on
checkbox_off_background
checkbox_off_background
checkbox_on_background
checkbox_on_background
ic_btn_speak_now
ic_btn_speak_now
ic_delete
ic_delete
ic_dialog_alert
ic_dialog_alert
ic_dialog_dialer
ic_dialog_dialer
ic_dialog_email
ic_dialog_email
ic_dialog_info
ic_dialog_info
ic_dialog_map
ic_dialog_map
ic_input_add
ic_input_add
ic_input_delete
ic_input_delete
ic_input_get
ic_input_get
ic_lock_idle_alarm
ic_lock_idle_alarm
ic_lock_idle_charging
ic_lock_idle_charging
ic_lock_idle_lock
ic_lock_idle_lock
ic_lock_idle_low_battery
ic_lock_idle_low_battery
ic_lock_lock
ic_lock_lock
ic_lock_power_off
ic_lock_power_off
ic_lock_silent_mode
ic_lock_silent_mode
ic_lock_silent_mode_off
ic_lock_silent_mode_off
ic_media_ff
ic_media_ff
ic_media_next
ic_media_next
ic_media_pause
ic_media_pause
ic_media_play
ic_media_play
ic_media_previous
ic_media_previous
ic_media_rew
ic_media_rew
ic_menu_add
ic_menu_add
ic_menu_agenda
ic_menu_agenda
ic_menu_always_landscape_portrait
ic_menu_always_landscape_portrait
ic_menu_call
ic_menu_call
ic_menu_camera
ic_menu_camera
ic_menu_close_clear_cancel
ic_menu_close_clear_cancel
ic_menu_compass
ic_menu_compass
ic_menu_crop
ic_menu_crop
ic_menu_day
ic_menu_day
ic_menu_delete
ic_menu_delete
ic_menu_directions
ic_menu_directions
ic_menu_edit
ic_menu_edit
ic_menu_gallery
ic_menu_gallery
ic_menu_help
ic_menu_help
ic_menu_info_details
ic_menu_info_details
ic_menu_manage
ic_menu_manage
ic_menu_mapmode
ic_menu_mapmode
ic_menu_month
ic_menu_month
ic_menu_more
ic_menu_more
ic_menu_my_calendar
ic_menu_my_calendar
ic_menu_mylocation
ic_menu_mylocation
ic_menu_myplaces
ic_menu_myplaces
ic_menu_preferences
ic_menu_preferences
ic_menu_recent_history
ic_menu_recent_history
ic_menu_report_image
ic_menu_report_image
ic_menu_revert
ic_menu_revert
ic_menu_rotate
ic_menu_rotate
ic_menu_save
ic_menu_save
ic_menu_search
ic_menu_search
ic_menu_send
ic_menu_send
ic_menu_set_as
ic_menu_set_as
ic_menu_share
ic_menu_share
ic_menu_slideshow
ic_menu_slideshow
ic_menu_sort_alphabetically
ic_menu_sort_alphabetically
ic_menu_sort_by_size
ic_menu_sort_by_size
ic_menu_today
ic_menu_today
ic_menu_upload
ic_menu_upload
ic_menu_upload_you_tube
ic_menu_upload_you_tube
ic_menu_view
ic_menu_view
ic_menu_week
ic_menu_week
ic_menu_zoom
ic_menu_zoom
ic_notification_clear_all
ic_notification_clear_all
ic_partial_secure
ic_partial_secure
ic_popup_disk_full
ic_popup_disk_full
ic_popup_reminder
ic_popup_reminder
ic_search_category_default
ic_search_category_default
ic_secure
ic_secure
presence_away
presence_away
presence_busy
presence_busy
presence_invisible
presence_invisible
presence_offline
presence_offline
presence_online
presence_online
radiobutton_off_background
radiobutton_off_background
radiobutton_on_background
radiobutton_on_background
star_big_off
star_big_off
star_big_on
star_big_on
star_off
star_off
star_on
star_on
stat_notify_call_mute
stat_notify_call_mute
stat_notify_chat
stat_notify_chat
stat_notify_error
stat_notify_error
stat_notify_missed_call
stat_notify_missed_call
stat_notify_more
stat_notify_more
stat_notify_sdcard
stat_notify_sdcard
stat_notify_sdcard_usb
stat_notify_sdcard_usb
stat_notify_sync
stat_notify_sync
stat_notify_voicemail
stat_notify_voicemail
stat_sys_data_bluetooth
stat_sys_data_bluetooth
stat_sys_headset
stat_sys_headset
stat_sys_phone_call
stat_sys_phone_call
stat_sys_phone_call_forward
stat_sys_phone_call_forward
stat_sys_phone_call_on_hold
stat_sys_phone_call_on_hold
stat_sys_speakerphone
stat_sys_speakerphone
stat_sys_warning
stat_sys_warning
sym_action_call
sym_action_call
sym_action_chat
sym_action_chat
sym_action_email
sym_action_email
sym_call_incoming
sym_call_incoming
sym_call_missed
sym_call_missed
sym_call_outgoing
sym_call_outgoing
sym_contact_card
sym_contact_card
sym_def_app_icon
sym_def_app_icon

Images in table are Copyright © 2009, The Android Open Source Project
and are licensed under the Apache License, Version 2.0.

原文地址:https://www.cnblogs.com/xpxpxp2046/p/2479275.html