1.android系统提供的Drawable资源非常丰富,而且效果随着版本提升以有增多。从笔者测试来看,在使用系统的提供的Drawable时,高度和宽度最好使用wrap_content,这样防止有的图片失真。
resource reference:
In Java: R.drawable.filename In XML: @[package:]drawable/filename
[email protected]:drawable/***介绍:
alert_light_frame:
alert_dark_frame:
dialog_frame:
dialog_holo_dark_frame:
dialog_holo_light_frame:
arrow_down_float:
arrow_up_float:
bottom_bar:
btn_default:
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:
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:
list_selector_background:
没看出来效果
menu_frame:
menu_full_frame:
menuitem_background:
白色背景
picture_frame:
presence_audio_away:
presence_audio_busy:
presence_audio_online:
presence_away:
presence_busy:
presence_invisible:
presence_offline:
presence_online:
presence_video_away:
presence_video_busy:
presence_video_online:
progress_horizontal:
没看出来
progress_indeterminate_horizontal:
radiobutton_off_background:
radiobutton_on_background:
screen_background_dark:
没看出来
screen_background_dark_transparent:
没看出来
screen_background_light:
没看出来
screen_background_light_transparent:
没看出来
spinner_background:
spinner_dropdown_background:
star_big_off:
star_big_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: