Android Framework---styles.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 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>

    <!-- A special animation value used internally for popup windows. -->
    <style name="Animation.PopupWindow" />

    <!-- Status Bar Styles -->

    <style name="TextAppearance.StatusBar">
        <item name="android:textSize">14sp</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">?android:attr/textColorPrimary</item>
    </style>
    <style name="TextAppearance.StatusBar.Ticker">
    </style>
    <style name="TextAppearance.StatusBar.Title">
        <item name="android:textStyle">bold</item>
    </style>

    <style name="TextAppearance.StatusBar.Icon">
        <item name="android:textStyle">bold</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent">
        <item name="android:textColor">#ff6b6b6b</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title">
        <item name="android:textSize">16sp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">?android:attr/textColorPrimaryInverse</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>
        <item name="android:textSelectHandleLeft">?android:attr/textSelectHandleLeft</item>
        <item name="android:textSelectHandleRight">?android:attr/textSelectHandleRight</item>
        <item name="android:textSelectHandle">?android:attr/textSelectHandle</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_dark</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>

    <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>
        <item name="android:popupAnimationStyle">@android:style/Animation.PopupWindow</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">47.33333dip</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">?textColorPrimary</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>

    <!-- Style for the small popup windows that contain text selection anchors. -->
    <style name="Widget.TextSelectHandle">
        <item name="android:popupAnimationStyle">@android:style/Animation.TextSelectHandle</item>
    </style>

    <!-- Style for animating text selection handles. -->
    <style name="Animation.TextSelectHandle">
        <item name="windowEnterAnimation">@android:anim/fade_in</item>
        <item name="windowExitAnimation">@android:anim/fade_out</item>
    </style>
</resources>

 

posted @ 2012-03-31 19:39  移动应用开发  阅读(905)  评论(0编辑  收藏  举报