Android自定义样式style.xml

 

<?xml version="1.0" encoding="utf-8"?> 

<!-- Copyright (C) 2006 The Android Open Source Project 
Licensed under the Apache License, Version 2.0 (the "License"); 
you may not use this file except in compliance with the License. 
You may obtain a copy of the License at 
http://www.apache.org/licenses/LICENSE-2.0 
Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
See the License for the specific language governing permissions and 
limitations under the License. --> 

<RESOURCES> 
<!-- Global Theme Styles --> 
<EAT -comment /> 
<STYLE name="WindowTitleBackground"> 
<item name="android:background">@android:drawable/title_bar</item> 
</STYLE> 


<STYLE name="WindowTitle"> 
<item name="android:singleLine">true</item> 
<item name="android:textAppearance">@style/textappearance.windowtitle</item> 
<item name="android:shadowColor">#bb000000</item> 
<item name="android:shadowRadius">2.75</item> 
</STYLE> 

<STYLE name="DialogWindowTitle"> 
<item name="android:maxLines">1</item> 
<item name="android:scrollHorizontally">true</item> 
<item name="android:textAppearance">@style/textappearance.dialogwindowtitle</item> 

</STYLE> 

<STYLE name="AlertDialog"> 
<item name="fullDark">@android:drawable/popup_full_dark</item> 
<item name="topDark">@android:drawable/popup_top_dark</item> 
<item name="centerDark">@android:drawable/popup_center_dark</item> 
<item name="bottomDark">@android:drawable/popup_bottom_dark</item> 
<item name="fullBright">@android:drawable/popup_full_bright</item> 
<item name="topBright">@android:drawable/popup_top_bright</item> 
<item name="centerBright">@android:drawable/popup_center_bright</item> 
<item name="bottomBright">@android:drawable/popup_bottom_bright</item> 
<item name="bottomMedium">@android:drawable/popup_bottom_medium</item> 
<item name="centerMedium">@android:drawable/popup_center_medium</item> 
</STYLE> 

<!-- Base style for animations. This style specifies no animations. --> 
<STYLE name="Animation"> 
<!-- Standard animations for a full-screen window or activity. --> 
</STYLE> 


<STYLE name="Animation.Activity"> 
<item name="activityOpenEnterAnimation">@anim/activity_open_enter</item> 
<item name="activityOpenExitAnimation">@anim/activity_open_exit</item> 
<item name="activityCloseEnterAnimation">@anim/activity_close_enter</item> 
<item name="activityCloseExitAnimation">@anim/activity_close_exit</item> 
<item name="taskOpenEnterAnimation">@anim/task_open_enter</item> 
<item name="taskOpenExitAnimation">@anim/task_open_exit</item> 
<item name="taskCloseEnterAnimation">@anim/task_close_enter</item> 
<item name="taskCloseExitAnimation">@anim/task_close_exit</item> 
<item name="taskToFrontEnterAnimation">@anim/task_open_enter</item> 
<item name="taskToFrontExitAnimation">@anim/task_open_exit</item> 
<item name="taskToBackEnterAnimation">@anim/task_close_enter</item> 
<item name="taskToBackExitAnimation">@anim/task_close_exit</item> 
<item name="wallpaperOpenEnterAnimation">@anim/wallpaper_open_enter</item> 
<item name="wallpaperOpenExitAnimation">@anim/wallpaper_open_exit</item> 
<item name="wallpaperCloseEnterAnimation">@anim/wallpaper_close_enter</item> 
<item name="wallpaperCloseExitAnimation">@anim/wallpaper_close_exit</item> 
<item name="wallpaperIntraOpenEnterAnimation">@anim/wallpaper_intra_open_enter</item> 
<item name="wallpaperIntraOpenExitAnimation">@anim/wallpaper_intra_open_exit</item> 
<item name="wallpaperIntraCloseEnterAnimation">@anim/wallpaper_intra_close_enter</item> 
<item name="wallpaperIntraCloseExitAnimation">@anim/wallpaper_intra_close_exit</item> 
</STYLE> 

<!-- Standard animations for a non-full-screen window or activity. --> 
<STYLE name="Animation.Dialog"> 
<item name="windowEnterAnimation">@anim/dialog_enter</item> 
<item name="windowExitAnimation">@anim/dialog_exit</item> 
</STYLE> 

<!-- Standard animations for hiding and showing the status bar. --> 
<STYLE name="Animation.StatusBar"> 
<item name="windowEnterAnimation">@anim/status_bar_enter</item> 
<item name="windowExitAnimation">@anim/status_bar_exit</item> 
</STYLE> 

<!-- Standard animations for a translucent window or activity. This 
style is <em>not<em> used by default for the translucent theme 
(since translucent activities are a special case that have no 
clear UI paradigm), but you can make your own specialized theme 
with this animation style if you would like to have the standard 
platform transition animation. --> 

<STYLE name="Animation.Translucent"> 
<item name="windowEnterAnimation">@anim/translucent_enter</item> 
<item name="windowExitAnimation">@anim/translucent_exit</item> 
</STYLE> 
<!-- Standard animations for a non-full-screen window or activity. --> 
<STYLE name="Animation.LockScreen"> 
<item name="windowEnterAnimation">@anim/lock_screen_enter</item> 
<item name="windowExitAnimation">@anim/lock_screen_exit</item> 
</STYLE> 
<STYLE name="Animation.OptionsPanel"> 
<item name="windowEnterAnimation">@anim/options_panel_enter</item> 
<item name="windowExitAnimation">@anim/options_panel_exit</item> 
</STYLE> 

<STYLE name="Animation.SubMenuPanel"> 
<item name="windowEnterAnimation">@anim/submenu_enter</item> 
<item name="windowExitAnimation">@anim/submenu_exit</item> 
</STYLE> 

<STYLE name="Animation.TypingFilter"> 
<item name="windowEnterAnimation">@anim/grow_fade_in_center</item> 
<item name="windowExitAnimation">@anim/shrink_fade_out_center</item> 
</STYLE> 

<STYLE name="Animation.TypingFilterRestore"> 
<item name="windowEnterAnimation">@null</item> 
<item name="windowExitAnimation">@anim/shrink_fade_out_center</item> 
</STYLE> 
<STYLE name="Animation.Toast"> 
<item name="windowEnterAnimation">@anim/toast_enter</item> 
<item name="windowExitAnimation">@anim/toast_exit</item> 
</STYLE> 
<STYLE name="Animation.DropDownDown"> 
<item name="windowEnterAnimation">@anim/grow_fade_in</item> 
<item name="windowExitAnimation">@anim/shrink_fade_out</item> 
</STYLE> 
<STYLE name="Animation.DropDownUp"> 
<item name="windowEnterAnimation">@anim/grow_fade_in_from_bottom</item> 
<item name="windowExitAnimation">@anim/shrink_fade_out_from_bottom</item> 
</STYLE> 

<!-- {@hide} --> 
<STYLE name="Animation.SlidingCard"> 
<item name="windowEnterAnimation">@anim/slide_in_up</item> 
<item name="windowExitAnimation">@anim/slide_out_down</item> 
</STYLE> 

<!-- Window animations that are applied to input method overlay windows. --> 
<STYLE name="Animation.InputMethod"> 
<item name="windowEnterAnimation">@anim/input_method_enter</item> 
<item name="windowExitAnimation">@anim/input_method_exit</item> 
</STYLE> 

<!-- Special optional fancy IM animations. @hide --> 
<STYLE name="Animation.InputMethodFancy"> 
<item name="windowEnterAnimation">@anim/input_method_fancy_enter</item> 
<item name="windowExitAnimation">@anim/input_method_fancy_exit</item> 
</STYLE> 

<!-- Window animations that are applied to the search bar overlay window. 
Previously used, but currently unused. 
{@hide Pending API council approval} --> 


<STYLE name="Animation.SearchBar"> 
<item name="windowEnterAnimation">@anim/search_bar_enter</item> 
<item name="windowExitAnimation">@anim/search_bar_exit</item> 
</STYLE> 

<!-- Window animations that are applied to the zoom buttons overlay window. --> 
<STYLE name="Animation.ZoomButtons"> 
<item name="windowEnterAnimation">@anim/fade_in</item> 
<item name="windowExitAnimation">@anim/fade_out</item> 
</STYLE> 

<!-- Standard animations for wallpapers. --> 
<STYLE name="Animation.Wallpaper"> 
<item name="windowEnterAnimation">@anim/wallpaper_enter</item> 
<item name="windowExitAnimation">@anim/wallpaper_exit</item> 
</STYLE> 

<!-- A special animation we can use for recent applications, 
for devices that can support it (do alpha transformations). --> 
<STYLE name="Animation.RecentApplications"> 
<item name="windowEnterAnimation">@anim/fade_in</item> 
<item name="windowExitAnimation">@anim/fade_out</item> 
</STYLE> 

<!-- Status Bar Styles --> 
<STYLE name="TextAppearance.StatusBarTitle"> 
<item name="android:textAppearance">?android:attr/textappearancesmall</item> 
<item name="android:textStyle">bold</item> 
<item name="android:textColor">?android:attr/textcolorprimary</item> 
</STYLE> 

<!-- Widget Styles --> 
<STYLE name="Widget"> 
<item name="android:textAppearance">?textappearance</item> 
</STYLE> 
<STYLE name="Widget.AbsListView"> 
<item name="android:scrollbars">vertical</item> 
<item name="android:fadingEdge">vertical</item> 
</STYLE> 


<STYLE name="Widget.GestureOverlayView"> 
<item name="android:gestureStrokeWidth">12.0</item> 
<item name="android:gestureColor">#ffffff00</item> 
<item name="android:uncertainGestureColor">#48ffff00</item> 
<item name="android:fadeOffset">420</item> 
<item name="android:fadeDuration">150</item> 
<item name="android:gestureStrokeLengthThreshold">50.0</item> 
<item name="android:gestureStrokeSquarenessThreshold">0.275</item> 
<item name="android:gestureStrokeAngleThreshold">40.0</item> 
<item name="android:eventsInterceptionEnabled">true</item> 
</STYLE> 

<STYLE name="Widget.GestureOverlayView.White"> 
<item name="android:gestureColor">#ff00ff00</item> 
<item name="android:uncertainGestureColor">#4800ff00</item> 
</STYLE> 
<STYLE name="Widget.Button"> 
<item name="android:background">@android:drawable/btn_default</item> 
<item name="android:focusable">true</item> 
<item name="android:clickable">true</item> 
<item name="android:textAppearance">?android:attr/textappearancesmallinverse</item> 
<item name="android:textColor">@android:color/primary_text_light</item> 
<item name="android:gravity">center_vertical|center_horizontal</item> 
</STYLE> 
<STYLE name="Widget.Button.Small"> 
<item name="android:background">@android:drawable/btn_default_small</item> 
</STYLE> 

<STYLE name="Widget.Button.Inset"> 
<item name="android:background">@android:drawable/button_inset</item> 
</STYLE> 
<STYLE name="Widget.Button.Transparent"> 
<item name="android:background">@android:drawable/btn_default_transparent</item> 
<item name="android:textAppearance">?android:attr/textappearancesmall</item> 
<item name="android:textColor">@android:color/white</item> 
</STYLE> 

<STYLE name="Widget.CompoundButton"> 
<item name="android:focusable">true</item> 
<item name="android:clickable">true</item> 
<item name="android:textAppearance">?android:attr/textappearance</item> 
<item name="android:textColor">?android:attr/textcolorprimarydisableonly</item> 
<item name="android:gravity">center_vertical|left</item> 
</STYLE> 

<STYLE name="Widget.CompoundButton.CheckBox"> 

<item name="android:background">@android:drawable/btn_check_label_background</item> 
<item name="android:button">@android:drawable/btn_check</item> 
</STYLE> 


<STYLE name="Widget.CompoundButton.RadioButton"> 
<item name="android:background">@android:drawable/btn_radio_label_background</item> 
<item name="android:button">@android:drawable/btn_radio</item> 
</STYLE> 

<STYLE name="Widget.CompoundButton.Star"> 
<item name="android:background">@android:drawable/btn_star_label_background</item> 
<item name="android:button">@android:drawable/btn_star</item> 
</STYLE> 

<STYLE name="Widget.Button.Toggle"> 
<item name="android:background">@android:drawable/btn_toggle_bg</item> 
<item name="android:textOn">@android:string/capital_on</item> 
<item name="android:textOff">@android:string/capital_off</item> 
<item name="android:disabledAlpha">?android:attr/disabledalpha</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar"> 
<item name="android:indeterminateOnly">true</item> 
<item name="android:indeterminateDrawable">@android:drawable/progress_medium_white</item> 
<item name="android:indeterminateBehavior">repeat</item> 
<item name="android:indeterminateDuration">3500</item> 
<item name="android:minWidth">48dip</item> 
<item name="android:maxWidth">48dip</item> 
<item name="android:minHeight">48dip</item> 
<item name="android:maxHeight">48dip</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Large"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_large_white</item> 
<item name="android:minWidth">76dip</item> 
<item name="android:maxWidth">76dip</item> 
<item name="android:minHeight">76dip</item> 
<item name="android:maxHeight">76dip</item> 
</STYLE> 
<STYLE name="Widget.ProgressBar.Small"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_small_white</item> 
<item name="android:minWidth">16dip</item> 
<item name="android:maxWidth">16dip</item> 
<item name="android:minHeight">16dip</item> 
<item name="android:maxHeight">16dip</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Inverse"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_medium</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Large.Inverse"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_large</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Small.Inverse"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_small</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Small.Title"> 
<item name="android:indeterminateDrawable">@android:drawable/progress_small_titlebar</item> 
</STYLE> 

<STYLE name="Widget.ProgressBar.Horizontal"> 
<item name="android:indeterminateOnly">false</item> 
<item name="android:progressDrawable">@android:drawable/progress_horizontal</item> 
<item name="android:indeterminateDrawable">@android:drawable/progress_indeterminate_horizontal</item> 

<item name="android:minHeight">20dip</item> 
<item name="android:maxHeight">20dip</item> 
</STYLE> 


<STYLE name="Widget.SeekBar"> 
<item name="android:indeterminateOnly">false</item> 
<item name="android:progressDrawable">@android:drawable/progress_horizontal</item> 
<item name="android:indeterminateDrawable">@android:drawable/progress_horizontal</item> 
<item name="android:minHeight">20dip</item> 
<item name="android:maxHeight">20dip</item> 
<item name="android:thumb">@android:drawable/seek_thumb</item> 
<item name="android:thumbOffset">8dip</item> 
<item name="android:focusable">true</item> 

</STYLE> 
<STYLE name="Widget.RatingBar"> 
<item name="android:indeterminateOnly">false</item> 
<item name="android:progressDrawable">@android:drawable/ratingbar_full</item> 
<item name="android:indeterminateDrawable">@android:drawable/ratingbar_full</item> 
<item name="android:minHeight">57dip</item> 
<item name="android:maxHeight">57dip</item> 
<item name="android:thumb">@null</item> 
</STYLE> 

<STYLE name="Widget.RatingBar.Indicator"> 
<item name="android:indeterminateOnly">false</item> 
<item name="android:progressDrawable">@android:drawable/ratingbar</item> 
<item name="android:indeterminateDrawable">@android:drawable/ratingbar</item> 
<item name="android:minHeight">38dip</item> 
<item name="android:maxHeight">38dip</item> 
<item name="android:thumb">@null</item> 
<item name="android:isIndicator">true</item> 
</STYLE> 


<STYLE name="Widget.RatingBar.Small"> 
<item name="android:indeterminateOnly">false</item> 
<item name="android:progressDrawable">@android:drawable/ratingbar_small</item> 
<item name="android:indeterminateDrawable">@android:drawable/ratingbar_small</item> 
<item name="android:minHeight">14dip</item> 
<item name="android:maxHeight">14dip</item> 
<item name="android:thumb">@null</item> 
<item name="android:isIndicator">true</item> 
</STYLE> 
<STYLE name="Widget.TextView"> 
<item name="android:textAppearance">?android:attr/textappearancesmall</item> 
</STYLE> 


<STYLE name="Widget.TextView.ListSeparator"> 
<item name="android:background">@android:drawable/dark_header_dither</item> 
<item name="android:layout_width">match_parent</item> 
<item name="android:layout_height">25dip</item> 
<item name="android:textStyle">bold</item> 
<item name="android:textColor">?textcolorsecondary</item> 
<item name="android:textSize">14sp</item> 
<item name="android:gravity">center_vertical</item> 
<item name="android:paddingLeft">5sp</item> 
</STYLE> 
<STYLE name="Widget.TextView.ListSeparator.White"> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
<item name="android:background">@android:drawable/light_header_dither</item> 
</STYLE> 
<STYLE name="Widget.EditText"> 
<item name="android:focusable">true</item> 
<item name="android:focusableInTouchMode">true</item> 
<item name="android:clickable">true</item> 
<item name="android:background">@android:drawable/edit_text</item> 
<item name="android:textAppearance">?android:attr/textappearancemediuminverse</item> 
<item name="android:textColor">@android:color/primary_text_light</item> 
<item name="android:gravity">center_vertical</item> 
</STYLE> 


<STYLE name="Widget.ExpandableListView" parent="Widget.ListView"> 
<item name="android:groupIndicator">@android:drawable/expander_group</item> 
<item name="android:indicatorLeft">?android:attr/expandablelistpreferreditemindicatorleft</item> 
<item name="android:indicatorRight">?android:attr/expandablelistpreferreditemindicatorright</item> 

<item name="android:childDivider">@android:drawable/divider_horizontal_dark_opaque</item> 
</STYLE> 

<STYLE name="Widget.ExpandableListView.White"> 
<item name="android:childDivider">@android:drawable/divider_horizontal_bright_opaque</item> 
</STYLE> 

<STYLE name="Widget.ImageWell"> 
<item name="android:background">@android:drawable/panel_picture_frame_background</item> 
</STYLE> 

<STYLE name="Widget.ImageButton"> 
<item name="android:focusable">true</item> 
<item name="android:clickable">true</item> 
<item name="android:scaleType">center</item> 
<item name="android:background">@android:drawable/btn_default</item> 
</STYLE> 


<STYLE name="Widget.AutoCompleteTextView"> 
<item name="android:focusable">true</item> 
<item name="android:focusableInTouchMode">true</item> 
<item name="android:clickable">true</item> 
<item name="android:background">@android:drawable/edit_text</item> 
<item name="android:completionHintView">@android:layout/simple_dropdown_hint</item> 
<item name="android:textAppearance">?android:attr/textappearancemediuminverse</item> 
<item name="android:gravity">center_vertical</item> 
<item name="android:completionThreshold">2</item> 
<item name="android:dropDownSelector">@android:drawable/list_selector_background</item> 
<item name="android:popupBackground">@android:drawable/spinner_dropdown_background</item> 

<item name="android:dropDownVerticalOffset">-6dip</item> 
<item name="android:dropDownHorizontalOffset">0dip</item> 
<item name="android:dropDownWidth">wrap_content</item> 
</STYLE> 

<STYLE name="Widget.Spinner"> 
<item name="android:background">@android:drawable/btn_dropdown</item> 
<item name="android:clickable">true</item> 
</STYLE> 

<STYLE name="Widget.TextView.PopupMenu"> 
<item name="android:clickable">true</item> 
<item name="android:textAppearance">@style/textappearance.widget.textview.popupmenu</item> 
</STYLE> 

<STYLE name="Widget.TextView.SpinnerItem"> 
<item name="android:textAppearance">@style/textappearance.widget.textview.spinneritem</item> 
</STYLE> 

<STYLE name="Widget.DropDownItem"> 
<item name="android:textAppearance">@style/textappearance.widget.dropdownitem</item> 
<item name="android:paddingLeft">6dip</item> 
<item name="android:paddingRight">6dip</item> 
<item name="android:gravity">center_vertical</item> 
</STYLE> 


<STYLE name="Widget.DropDownItem.Spinner"> 
<item name="android:checkMark">@android:drawable/btn_radio</item> 
</STYLE> 

<STYLE name="Widget.ScrollView"> 
<item name="android:scrollbars">vertical</item> 
<item name="android:fadingEdge">vertical</item> 
</STYLE> 

<STYLE name="Widget.HorizontalScrollView"> 
<item name="android:scrollbars">horizontal</item> 
<item name="android:fadingEdge">horizontal</item> 
</STYLE> 

<STYLE name="Widget.ListView" parent="Widget.AbsListView"> 
<item name="android:listSelector">@android:drawable/list_selector_background</item> 
<item name="android:cacheColorHint">?android:attr/colorbackgroundcachehint</item> 
<item name="android:divider">@android:drawable/divider_horizontal_dark_opaque</item> 
</STYLE> 

<STYLE name="Widget.ListView.White" parent="Widget.AbsListView"> 
<item name="android:listSelector">@android:drawable/list_selector_background</item> 
<item name="android:cacheColorHint">?android:attr/colorbackgroundcachehint</item> 
<item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item> 
</STYLE> 

<STYLE name="Widget.ListView.DropDown"> 
<item name="android:cacheColorHint">@null</item> 
<item name="android:divider">@android:drawable/divider_horizontal_bright_opaque</item> 
</STYLE> 

<STYLE name="Widget.ListView.Menu"> 
<item name="android:cacheColorHint">@null</item> 
<item name="android:scrollbars">vertical</item> 
<item name="android:fadingEdge">vertical</item> 
<item name="listSelector">@android:drawable/menu_selector</item> 
<!-- Light background for the list in menus, so the divider for bright themes --> 
<item name="android:divider">@android:drawable/divider_horizontal_bright</item> 
</STYLE> 

<STYLE name="Widget.GridView" parent="Widget.AbsListView"> 
<item name="android:listSelector">@android:drawable/grid_selector_background</item> 
</STYLE> 
<STYLE name="Widget.WebView"> 
<item name="android:focusable">true</item> 
<item name="android:scrollbars">horizontal|vertical</item> 
</STYLE> 

<STYLE name="Widget.WebTextView"> 
<item name="android:focusable">true</item> 
<item name="android:focusableInTouchMode">true</item> 
<item name="android:clickable">true</item> 
<item name="android:completionHintView">@android:layout/simple_dropdown_item_1line</item> 
<item name="android:textAppearance">?android:attr/textappearancelargeinverse</item> 
<item name="android:completionThreshold">2</item> 
<item name="android:dropDownSelector">@android:drawable/list_selector_background</item> 
<item name="android:popupBackground">@android:drawable/spinner_dropdown_background</item> 
<STYLE name="Widget.TabWidget"> 
<item name="android:textAppearance">@style/textappearance.widget.tabwidget</item> 
<item name="ellipsize">marquee</item> 
<item name="singleLine">true</item> 
</STYLE> 

<STYLE name="Widget.Gallery"> 
<item name="android:fadingEdge">horizontal</item> 
<item name="android:gravity">center_vertical</item> 
<item name="android:spacing">-20dip</item> 
<item name="android:unselectedAlpha">0.85</item> 
</STYLE> 

<STYLE name="Widget.PopupWindow"> 
<item name="android:popupBackground">@android:drawable/editbox_dropdown_background_dark</item> 

</STYLE> 

<STYLE name="Widget.KeyboardView" parent="android:Widget"> 
<item name="android:background">@android:drawable/keyboard_background</item> 
<item name="android:keyBackground">@android:drawable/btn_keyboard_key</item> 
<item name="android:keyTextSize">22sp</item> 
<item name="android:keyTextColor">#ffffffff</item> 
<item name="android:keyPreviewLayout">@android:layout/keyboard_key_preview</item> 
<item name="android:keyPreviewOffset">-12dip</item> 
<item name="android:keyPreviewHeight">80dip</item> 
<item name="android:labelTextSize">14sp</item> 
<item name="android:popupLayout">@android:layout/keyboard_popup_keyboard</item> 
<item name="android:verticalCorrection">-10dip</item> 
<item name="android:shadowColor">#bb000000</item> 
<item name="android:shadowRadius">2.75</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadge"> 
<item name="android:layout_width">50dip</item> 
<item name="android:layout_height">56dip</item> 
<item name="android:background">@android:drawable/quickcontact_badge</item> 
<item name="android:clickable">true</item> 
<item name="android:scaleType">fitcenter</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadgeSmall"> 
<item name="android:layout_width">39dip</item> 
<item name="android:layout_height">42dip</item> 
<item name="android:background">@android:drawable/quickcontact_badge_small</item> 
<item name="android:clickable">true</item> 
<item name="android:scaleType">fitcenter</item> 
</STYLE> 


<STYLE name="Widget.QuickContactBadge.WindowSmall"> 
<item name="android:quickContactWindowSize">modesmall</item> 
</STYLE> 


<STYLE name="Widget.QuickContactBadge.WindowMedium"> 
<item name="android:quickContactWindowSize">modemedium</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadge.WindowLarge"> 
<item name="android:quickContactWindowSize">modelarge</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadgeSmall.WindowSmall"> 
<item name="android:quickContactWindowSize">modesmall</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadgeSmall.WindowMedium"> 
<item name="android:quickContactWindowSize">modemedium</item> 
</STYLE> 

<STYLE name="Widget.QuickContactBadgeSmall.WindowLarge"> 
<item name="android:quickContactWindowSize">modelarge</item> 
</STYLE> 

<!-- Text Appearances --> 
<EAT -comment /> 
<STYLE name="TextAppearance"> 
<item name="android:textColor">?textcolorprimary</item> 
<item name="android:textColorHighlight">#ffff9200</item> 
<item name="android:textColorHint">?textcolorhint</item> 
<item name="android:textColorLink">#5c5cff</item> 
<item name="android:textSize">16sp</item> 
<item name="android:textStyle">normal</item> 
</STYLE> 
<STYLE name="TextAppearance.Inverse"> 
<item name="textColor">?textcolorprimaryinverse</item> 
<item name="android:textColorHint">?textcolorhintinverse</item> 
<item name="android:textColorLink">#0000ee</item> 
</STYLE> 


<STYLE name="TextAppearance.Theme"> 
</STYLE> 

<STYLE name="TextAppearance.DialogWindowTitle"> 
<item name="android:textSize">18sp</item> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">?textcolorprimary</item> 
</STYLE> 

<STYLE name="TextAppearance.Large"> 
<item name="android:textSize">22sp</item> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">?textcolorprimary</item> 
</STYLE> 

<STYLE name="TextAppearance.Large.Inverse"> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
<item name="android:textColorHint">?textcolorhintinverse</item> 
</STYLE> 

<STYLE name="TextAppearance.Medium"> 
<item name="android:textSize">18sp</item> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">?textcolorprimary</item> 
</STYLE> 

<STYLE name="TextAppearance.Medium.Inverse"> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
<item name="android:textColorHint">?textcolorhintinverse</item> 
</STYLE> 
<STYLE name="TextAppearance.Small"> 
<item name="android:textSize">14sp</item> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">?textcolorsecondary</item> 
</STYLE> 

<STYLE name="TextAppearance.Small.Inverse"> 
<item name="android:textColor">?textcolorsecondaryinverse</item> 
<item name="android:textColorHint">?textcolorhintinverse</item> 
</STYLE> 

<STYLE name="TextAppearance.Theme.Dialog" parent="TextAppearance.Theme"> 
</STYLE> 

<STYLE name="TextAppearance.Theme.Dialog.AppError"> 
<item name="android:textColor">#ffffc0c0</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget"> 
</STYLE> 

<STYLE name="TextAppearance.Widget.Button" parent="TextAppearance.Small.Inverse"> 
<item name="android:textColor">@android:color/primary_text_light_nodisable</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small"> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.EditText"> 
<item name="android:textColor">@color/widget_edittext_dark</item> 
<item name="android:textColorHint">@android:color/hint_foreground_light</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.TabWidget"> 
<item name="android:textSize">14sp</item> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">@android:color/tab_indicator_text</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.TextView"> 
<item name="android:textColor">?textcolorprimarydisableonly</item> 
<item name="android:textColorHint">?textcolorhint</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.TextView.PopupMenu"> 
<item name="android:textSize">18sp</item> 
<item name="android:textColor">?textcolorprimarydisableonly</item> 
<item name="android:textColorHint">?textcolorhint</item> 
</STYLE> 


<STYLE name="TextAppearance.Widget.DropDownHint"> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
<item name="android:textSize">14sp</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.DropDownItem"> 
<item name="android:textColor">@android:color/primary_text_light_disable_only</item> 
</STYLE> 

<STYLE name="TextAppearance.Widget.TextView.SpinnerItem"> 
<item name="android:textColor">@android:color/primary_text_light_disable_only</item> 
</STYLE> 

<!-- @hide --> 
<STYLE name="TextAppearance.SlidingTabNormal" parent="@android:attr/textAppearanceMedium"> 
<item name="android:textColor">?android:attr/textcolortertiary</item> 
<item name="android:textSize">28sp</item> 
<item name="android:shadowColor">@android:color/sliding_tab_text_color_shadow</item> 
<item name="android:shadowDx">0.0</item> 
<item name="android:shadowDy">1.0</item> 
<item name="android:shadowRadius">5.0</item> 
</STYLE> 

<!-- @hide --> 
<STYLE name="TextAppearance.SlidingTabActive" parent="@android:attr/textAppearanceMedium"> 
<item name="android:textColor">@android:color/sliding_tab_text_color_active</item> 
<item name="android:textSize">28sp</item> 
</STYLE> 

<!-- @hide --> 
<STYLE name="TextAppearance.SearchResult"> 
<item name="android:textStyle">normal</item> 
<item name="android:textColor">?textcolorprimaryinverse</item> 
<item name="android:textColorHint">?textcolorhintinverse</item> 
</STYLE> 

<!-- @hide --> 
<STYLE name="TextAppearance.SearchResult.Title"> 
<item name="android:textSize">16sp</item> 
</STYLE> 

<!-- @hide --> 
<STYLE name="TextAppearance.SearchResult.Subtitle"> 
<item name="android:textSize">13sp</item> 
<item name="android:textColor">?textcolorsecondaryinverse</item> 
</STYLE> 

<STYLE name="TextAppearance.WindowTitle"> 
<item name="android:textColor">#fff</item> 
<item name="android:textSize">14sp</item> 
<item name="android:textStyle">bold</item> 
</STYLE> 

<!-- Preference Styles --> 
<STYLE name="Preference"> 
<item name="android:layout">@android:layout/preference</item> 
</STYLE> 

<STYLE name="Preference.Information"> 
<item name="android:layout">@android:layout/preference_information</item> 
<item name="android:enabled">false</item> 
<item name="android:shouldDisableView">false</item> 
</STYLE> 

<STYLE name="Preference.Category"> 
<item name="android:layout">@android:layout/preference_category</item> 
<!-- The title should not dim if the category is disabled, instead only the preference children should dim. --> 
<item name="android:shouldDisableView">false</item> 
<item name="android:selectable">false</item> 
</STYLE> 
<STYLE name="Preference.CheckBoxPreference"> 
<item name="android:widgetLayout">@android:layout/preference_widget_checkbox</item> 
</STYLE> 
<STYLE name="Preference.PreferenceScreen"> 
</STYLE> 


<STYLE name="Preference.DialogPreference"> 
<item name="android:positiveButtonText">@android:string/ok</item> 
<item name="android:negativeButtonText">@android:string/cancel</item> 
<item name="android:widgetLayout">@android:layout/preference_dialog</item> 
</STYLE> 

<STYLE name="Preference.DialogPreference.YesNoPreference"> 
<item name="android:positiveButtonText">@android:string/yes</item> 
<item name="android:negativeButtonText">@android:string/no</item> 
</STYLE> 


<STYLE name="Preference.DialogPreference.EditTextPreference"> 
<item name="android:dialogLayout">@android:layout/preference_dialog_edittext</item> 
</STYLE> 

<STYLE name="Preference.RingtonePreference"> 
<item name="android:ringtoneType">ringtone</item> 
<item name="android:showSilent">true</item> 
<item name="android:showDefault">true</item> 
<item name="android:widgetLayout">@android:layout/preference_dialog</item> 
</STYLE> 

<!-- Other Misc Styles --> 
<EAT -comment /> 
<STYLE name="MediaButton"> 
<item name="android:background">@android:drawable/media_button_background</item> 
<item name="android:layout_width">71dip</item> 
<item name="android:layout_height">52dip</item> 
</STYLE> 


<STYLE name="MediaButton.Previous"> 
<item name="android:src">@android:drawable/ic_media_previous</item> 
</STYLE> 

<STYLE name="MediaButton.Next"> 
<item name="android:src">@android:drawable/ic_media_next</item> 
</STYLE> 

<STYLE name="MediaButton.Play"> 
<item name="android:src">@android:drawable/ic_media_play</item> 
</STYLE> 

<STYLE name="MediaButton.Ffwd"> 
<item name="android:src">@android:drawable/ic_media_ff</item> 
</STYLE> 

<STYLE name="MediaButton.Rew"> 
<item name="android:src">@android:drawable/ic_media_rew</item> 
</STYLE> 

<STYLE name="MediaButton.Pause"> 
<item name="android:src">@android:drawable/ic_media_pause</item> 
</STYLE> 

<STYLE name="ZoomControls"> 
<item name="android:gravity">bottom</item> 
<item name="android:paddingLeft">15dip</item> 
<item name="android:paddingRight">15dip</item> 
</STYLE> 

<!-- Style you can use with a container (typically a horizontal 
LinearLayout) to get the standard "button bar" background and spacing. @hide --> 

<STYLE name="ButtonBar"> 
<item name="android:paddingTop">5dip</item> 
<item name="android:paddingLeft">4dip</item> 
<item name="android:paddingRight">4dip</item> 
<item name="android:paddingBottom">1dip</item> 
<item name="android:background">@android:drawable/bottom_bar</item> 
</STYLE> 

</EM></RESOURCES> 
 

 

你可能感兴趣的:(android)