• 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

    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_image1507
    arrow_down_float

    clip_image004
    arrow_up_float

    clip_image1507
    bottom_bar

    clip_image006
    btn_default

    clip_image1507
    btn_default_small

    clip_image008
    btn_dialog

    clip_image009
    btn_dropdown

    clip_image010
    btn_minus

    clip_image011
    btn_plus

    clip_image1507
    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_image1507
    checkbox_off_background

    clip_image1507
    checkbox_on_background

    clip_image1507
    dark_header

    clip_image001[1]
    dialog_frame

    clip_image020
    divider_horizontal_bright

    clip_image1507
    divider_horizontal_dark

    clip_image1507
    divider_horizontal_dim_dark

    clip_image023
    divider_horizontal_textfield

    clip_image024
    edit_text

    clip_image1507
    editbox_background

    clip_image1507
    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_image1507
    ic_delete

    clip_image1507
    ic_dialog_alert

    clip_image032
    ic_dialog_dialer

    clip_image1507
    ic_dialog_email

    clip_image034
    ic_dialog_info

    clip_image035
    ic_dialog_map

    clip_image036
    ic_input_add

    clip_image1507
    ic_input_delete

    clip_image038
    ic_input_get

    clip_image039
    ic_lock_idle_alarm

    clip_image1507
    ic_lock_idle_charging

    clip_image041
    ic_lock_idle_lock

    clip_image042
    ic_lock_idle_low_battery

    clip_image043
    ic_lock_lock

    clip_image1507
    ic_lock_power_off

    clip_image1507
    ic_lock_silent_mode

    clip_image1507
    ic_lock_silent_mode_off

    clip_image047
    ic_media_ff

    clip_image048
    ic_media_next

    clip_image049
    ic_media_pause

    clip_image1507
    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_image1507
    ic_menu_call

    clip_image057
    ic_menu_camera

    clip_image1507
    ic_menu_close_clear_cancel

    clip_image059
    ic_menu_compass

    clip_image060
    ic_menu_crop

    clip_image1507
    ic_menu_day

    clip_image062
    ic_menu_delete

    clip_image063
    ic_menu_directions

    clip_image1507
    ic_menu_edit

    clip_image1507
    ic_menu_gallery

    clip_image066
    ic_menu_help

    clip_image1507
    ic_menu_info_details

    clip_image068
    ic_menu_manage

    clip_image1507
    ic_menu_mapmode

    clip_image070
    ic_menu_month

    clip_image071
    ic_menu_more

    clip_image1507
    ic_menu_my_calendar

    clip_image073
    ic_menu_mylocation

    clip_image074
    ic_menu_myplaces

    clip_image075
    ic_menu_preferences

    clip_image1507
    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_image1507
    ic_menu_share

    clip_image1507
    ic_menu_slideshow

    clip_image086
    ic_menu_sort_alphabetically

    clip_image1507
    ic_menu_sort_by_size

    clip_image088
    ic_menu_today

    clip_image089
    ic_menu_upload

    clip_image090
    ic_menu_upload_you_tube

    clip_image1507
    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_image1507
    ic_popup_sync

    clip_image100
    ic_search_category_default

    clip_image101
    ic_secure

    clip_image1507
    menu_frame

    clip_image103
    menu_full_frame

    clip_image1507
    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_image1507
    radiobutton_on_background

    clip_image1507
    spinner_background

    clip_image114
    spinner_dropdown_background

    clip_image115
    star_big_off

    clip_image1507
    star_big_on

    clip_image1507
    star_off

    clip_image118
    star_on

    clip_image119
    stat_notify_call_mute

    clip_image1507
    stat_notify_chat

    clip_image121
    stat_notify_error

    clip_image122
    stat_notify_missed_call

    clip_image123
    stat_notify_more

    clip_image1507
    stat_notify_sdcard

    clip_image125
    stat_notify_sdcard_prepare

    clip_image1507
    stat_notify_sdcard_usb

    clip_image127
    stat_notify_sync

    clip_image127[1]
    stat_notify_sync_noanim

    clip_image128
    stat_notify_voicemail

    clip_image1507
    stat_sys_data_bluetooth

    clip_image130
    stat_sys_download

    clip_image1507
    stat_sys_download_done

    clip_image131
    stat_sys_headset

    clip_image132
    stat_sys_phone_call

    clip_image133
    stat_sys_phone_call_forward

    clip_image1507
    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_image1507
    stat_sys_vp_phone_call_on_hold

    clip_image139
    stat_sys_warning

    clip_image1507
    status_bar_item_app_background

    clip_image1507
    status_bar_item_background

    clip_image142
    sym_action_call

    clip_image143
    sym_action_chat

    clip_image1507
    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

  • 相关阅读:
    Interface Collector
    Package java.util.stream
    Java环境变量配置&解决版本不一致问题 (转)
    数据库事务
    svn:重新设置客户端账户密码
    Mybatis:使用bean传值,当传入值为Null时,提示“无效的列类型”的解决办法
    Spring:在普通Java类中获取由Spring所管理的Bean
    在Eclipse中导入dtd和xsd文件,使XML自动提示(转)
    linux 如何显示一个文件的某几行
    软件质量特征 ISO9126
  • 原文地址:https://www.cnblogs.com/z_lb/p/3955734.html
Copyright © 2020-2023  润新知