返回列表 發帖

Android App - 內置小圖示


每當我們為一些加入小圖片時, 都加入以下的句子, customer_pic 為一自定圖片,  放在 /res/drawable  (drawable 為新增資料夾)
android:src="@drawable/customer_pic"

而Android SKD 也有一些 內置小圖示而供採用, 那麼便不用自己去畫圖片了, 例如
android:src="@drawable/ ic_media_play" 會顯示以下圖示



以下為所有內置小圖片
Constants
int        alert_dark_frame       
int        alert_light_frame       
int        arrow_down_float       
int        arrow_up_float       
int        bottom_bar       
int        btn_default       
int        btn_default_small       
int        btn_dialog       
int        btn_dropdown       
int        btn_minus       
int        btn_plus       
int        btn_radio       
int        btn_star       
int        btn_star_big_off       
int        btn_star_big_on       
int        button_onoff_indicator_off       
int        button_onoff_indicator_on       
int        checkbox_off_background       
int        checkbox_on_background       
int        dark_header        Drawable to use as a background for separators on a list with a dark background
int        dialog_frame       
int        dialog_holo_dark_frame       
int        dialog_holo_light_frame       
int        divider_horizontal_bright       
int        divider_horizontal_dark       
int        divider_horizontal_dim_dark       
int        divider_horizontal_textfield       
int        edit_text       
int        editbox_background       
int        editbox_background_normal       
int        editbox_dropdown_dark_frame       
int        editbox_dropdown_light_frame       
int        gallery_thumb       
int        ic_btn_speak_now       
int        ic_delete       
int        ic_dialog_alert       
int        ic_dialog_dialer       
int        ic_dialog_email       
int        ic_dialog_info       
int        ic_dialog_map       
int        ic_input_add       
int        ic_input_delete       
int        ic_input_get       
int        ic_lock_idle_alarm       
int        ic_lock_idle_charging       
int        ic_lock_idle_lock       
int        ic_lock_idle_low_battery       
int        ic_lock_lock       
int        ic_lock_power_off       
int        ic_lock_silent_mode       
int        ic_lock_silent_mode_off       
int        ic_media_ff       
int        ic_media_next       
int        ic_media_pause       
int        ic_media_play       
int        ic_media_previous       
int        ic_media_rew       
int        ic_menu_add       
int        ic_menu_agenda       
int        ic_menu_always_landscape_portrait       
int        ic_menu_call       
int        ic_menu_camera       
int        ic_menu_close_clear_cancel       
int        ic_menu_compass       
int        ic_menu_crop       
int        ic_menu_day       
int        ic_menu_delete       
int        ic_menu_directions       
int        ic_menu_edit       
int        ic_menu_gallery       
int        ic_menu_help       
int        ic_menu_info_details       
int        ic_menu_manage       
int        ic_menu_mapmode       
int        ic_menu_month       
int        ic_menu_more       
int        ic_menu_my_calendar       
int        ic_menu_mylocation       
int        ic_menu_myplaces       
int        ic_menu_preferences       
int        ic_menu_recent_history       
int        ic_menu_report_image       
int        ic_menu_revert       
int        ic_menu_rotate       
int        ic_menu_save       
int        ic_menu_search       
int        ic_menu_send       
int        ic_menu_set_as       
int        ic_menu_share       
int        ic_menu_slideshow       
int        ic_menu_sort_alphabetically       
int        ic_menu_sort_by_size       
int        ic_menu_today       
int        ic_menu_upload       
int        ic_menu_upload_you_tube       
int        ic_menu_view       
int        ic_menu_week       
int        ic_menu_zoom       
int        ic_notification_clear_all       
int        ic_notification_overlay       
int        ic_partial_secure       
int        ic_popup_disk_full       
int        ic_popup_reminder       
int        ic_popup_sync       
int        ic_search_category_default       
int        ic_secure       
int        list_selector_background       
int        menu_frame       
int        menu_full_frame       
int        menuitem_background       
int        picture_frame       
int        presence_audio_away       
int        presence_audio_busy       
int        presence_audio_online       
int        presence_away       
int        presence_busy       
int        presence_invisible       
int        presence_offline       
int        presence_online       
int        presence_video_away        presence drawables for videochat or audiochat capable contacts
int        presence_video_busy       
int        presence_video_online       
int        progress_horizontal       
int        progress_indeterminate_horizontal       
int        radiobutton_off_background       
int        radiobutton_on_background       
int        screen_background_dark       
int        screen_background_dark_transparent        Semi-transparent background that can be used when placing a dark themed UI on top of some arbitrary background (such as the wallpaper).
int        screen_background_light       
int        screen_background_light_transparent        Background drawable that can be used for a transparent activity to be able to display a light UI: this lightens its background to make a light UI more visible.
int        spinner_background       
int        spinner_dropdown_background       
int        star_big_off       
int        star_big_on       
int        star_off       
int        star_on       
int        stat_notify_call_mute       
int        stat_notify_chat       
int        stat_notify_error       
int        stat_notify_missed_call       
int        stat_notify_more       
int        stat_notify_sdcard       
int        stat_notify_sdcard_prepare       
int        stat_notify_sdcard_usb       
int        stat_notify_sync       
int        stat_notify_sync_noanim       
int        stat_notify_voicemail       
int        stat_sys_data_bluetooth       
int        stat_sys_download       
int        stat_sys_download_done       
int        stat_sys_headset       
int        stat_sys_phone_call         This constant is deprecated. Replaced by a private asset in the phone app.
int        stat_sys_phone_call_forward         This constant is deprecated. Replaced by a private asset in the phone app.
int        stat_sys_phone_call_on_hold         This constant is deprecated. Replaced by a private asset in the phone app.
int        stat_sys_speakerphone       
int        stat_sys_upload       
int        stat_sys_upload_done       
int        stat_sys_vp_phone_call         This constant is deprecated. Replaced by a private asset in the phone app.
int        stat_sys_vp_phone_call_on_hold         This constant is deprecated. Replaced by a private asset in the phone app.
int        stat_sys_warning       
int        status_bar_item_app_background       
int        status_bar_item_background       
int        sym_action_call       
int        sym_action_chat       
int        sym_action_email       
int        sym_call_incoming       
int        sym_call_missed       
int        sym_call_outgoing       
int        sym_contact_card       
int        sym_def_app_icon       
int        title_bar       
int        title_bar_tall        Drawable to use as a background for a taller version of the titlebar
int        toast_frame       
int        zoom_plate       

附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
Tel: 852-27491011  Fax: 852-81483532

返回列表