Android comes with Icon Library Android. R.drawable

Source: Internet
Author: User

Called in the XML file.

android:title= "@string/secure_connect"
android:orderincategory= "100"
android:icon= "@android:d rawable/ic_menu_search"

android:drawableright= "@android:d rawable/arrow_down_float"/>

Called in the program.

SetIcon (Android. R.drawable.stat_notify_error)

Android comes with Icon Library 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 was a list of resources in Android 2.1 's that android.R.drawable might was useful as icons in your Android applications. You can use the them like this:

Java Usage Example:

Mymenuitem.seticon (Android. R.drawable.ic_menu_save);

Resource Usage Example:

android:icon= "@android:d rawable/ic_menu_save"


Alert_dark_frame


Alert_light_frame


Arrow_down_float


Arrow_up_float


Bottom_bar


Btn_default


Btn_default_small


Btn_dialog


Btn_dropdown


Btn_minus


Btn_plus


Btn_radio


Btn_star


Btn_star_big_off


btn_star_big_on


Button_onoff_indicator_off


button_onoff_indicator_on


Checkbox_off_background


Checkbox_on_background


Dark_header


Dialog_frame


Divider_horizontal_bright


Divider_horizontal_dark


Divider_horizontal_dim_dark


Divider_horizontal_textfield


Edit_text


Editbox_background


Editbox_background_normal


Editbox_dropdown_dark_frame


Editbox_dropdown_light_frame


Gallery_thumb


Ic_btn_speak_now


Ic_delete


Ic_dialog_alert


Ic_dialog_dialer


Ic_dialog_email


Ic_dialog_info


Ic_dialog_map


Ic_input_add


Ic_input_delete


Ic_input_get


Ic_lock_idle_alarm


Ic_lock_idle_charging


Ic_lock_idle_lock


Ic_lock_idle_low_battery


Ic_lock_lock


Ic_lock_power_off


Ic_lock_silent_mode


Ic_lock_silent_mode_off


Ic_media_ff


Ic_media_next


Ic_media_pause


Ic_media_play


Ic_media_previous


Ic_media_rew


Ic_menu_add


Ic_menu_agenda


Ic_menu_always_landscape_portrait


Ic_menu_call


Ic_menu_camera


Ic_menu_close_clear_cancel


Ic_menu_compass


Ic_menu_crop


Ic_menu_day


Ic_menu_delete


Ic_menu_directions


Ic_menu_edit


Ic_menu_gallery


Ic_menu_help


Ic_menu_info_details


Ic_menu_manage


Ic_menu_mapmode


Ic_menu_month


Ic_menu_more


Ic_menu_my_calendar


Ic_menu_mylocation


Ic_menu_myplaces


Ic_menu_preferences


Ic_menu_recent_history


Ic_menu_report_image


Ic_menu_revert


Ic_menu_rotate


Ic_menu_save


Ic_menu_search


Ic_menu_send


Ic_menu_set_as


Ic_menu_share


Ic_menu_slideshow


Ic_menu_sort_alphabetically


Ic_menu_sort_by_size


Ic_menu_today


Ic_menu_upload


Ic_menu_upload_you_tube


Ic_menu_view


Ic_menu_week


Ic_menu_zoom


Ic_notification_clear_all


Ic_notification_overlay


Ic_partial_secure


Ic_popup_disk_full


Ic_popup_reminder


Ic_popup_sync


Ic_search_category_default


Ic_secure


Menu_frame


Menu_full_frame


Picture_frame


Presence_away


Presence_busy


Presence_invisible


Presence_offline


Presence_online


Progress_indeterminate_horizontal


Radiobutton_off_background


Radiobutton_on_background


Spinner_background


Spinner_dropdown_background


Star_big_off


star_big_on


Star_off


star_on


Stat_notify_call_mute


Stat_notify_chat


Stat_notify_error


Stat_notify_missed_call


Stat_notify_more


Stat_notify_sdcard


Stat_notify_sdcard_prepare


Stat_notify_sdcard_usb


Stat_notify_sync


Stat_notify_sync_noanim


Stat_notify_voicemail


Stat_sys_data_bluetooth


Stat_sys_download


Stat_sys_download_done


Stat_sys_headset


Stat_sys_phone_call


Stat_sys_phone_call_forward


Stat_sys_phone_call_on_hold


Stat_sys_speakerphone


Stat_sys_upload


Stat_sys_upload_done


Stat_sys_vp_phone_call


Stat_sys_vp_phone_call_on_hold


Stat_sys_warning


Status_bar_item_app_background


Status_bar_item_background


Sym_action_call


Sym_action_chat


Sym_action_email


Sym_call_incoming


Sym_call_missed


Sym_call_outgoing


Sym_contact_card


Sym_def_app_icon


Title_bar


Title_bar_tall


Toast_frame


Zoom_plate

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

Android comes with Icon Library Android. R.drawable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.