Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2006 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <!--
     18 ===============================================================
     19                         PLEASE READ
     20 ===============================================================
     21 
     22 The Holo themes must not be modified in order to pass CTS.
     23 Many related themes and styles depend on other values defined in this file.
     24 If you would like to provide custom themes and styles for your device,
     25 please see styles_device_defaults.xml.
     26 
     27 ===============================================================
     28                         PLEASE READ
     29 ===============================================================
     30  -->
     31 <resources>
     32     <!-- Global Theme Styles -->
     33     <eat-comment />
     34 
     35     <style name="WindowTitleBackground">
     36         <item name="background">@drawable/title_bar</item>
     37     </style>
     38 
     39     <style name="WindowTitle">
     40         <item name="singleLine">true</item>
     41         <item name="textAppearance">@style/TextAppearance.WindowTitle</item>
     42         <item name="shadowColor">#BB000000</item>
     43         <item name="shadowRadius">2.75</item>
     44     </style>
     45 
     46     <style name="DialogWindowTitleBackground">
     47         <item name="background">@drawable/title_bar</item>
     48     </style>
     49 
     50     <style name="DialogWindowTitle">
     51         <item name="maxLines">1</item>
     52         <item name="scrollHorizontally">true</item>
     53         <item name="textAppearance">@style/TextAppearance.DialogWindowTitle</item>
     54     </style>
     55 
     56     <style name="AlertDialog">
     57         <item name="fullDark">@drawable/popup_full_dark</item>
     58         <item name="topDark">@drawable/popup_top_dark</item>
     59         <item name="centerDark">@drawable/popup_center_dark</item>
     60         <item name="bottomDark">@drawable/popup_bottom_dark</item>
     61         <item name="fullBright">@drawable/popup_full_bright</item>
     62         <item name="topBright">@drawable/popup_top_bright</item>
     63         <item name="centerBright">@drawable/popup_center_bright</item>
     64         <item name="bottomBright">@drawable/popup_bottom_bright</item>
     65         <item name="bottomMedium">@drawable/popup_bottom_medium</item>
     66         <item name="centerMedium">@drawable/popup_center_medium</item>
     67         <item name="progressLayout">@layout/progress_dialog</item>
     68         <item name="horizontalProgressLayout">@layout/alert_dialog_progress</item>
     69         <item name="needsDefaultBackgrounds">false</item>
     70     </style>
     71 
     72     <style name="Widget.PreferenceFrameLayout">
     73         <item name="borderTop">0dip</item>
     74         <item name="borderBottom">0dip</item>
     75         <item name="borderLeft">0dip</item>
     76         <item name="borderRight">0dip</item>
     77     </style>
     78 
     79     <!-- Base style for animations.  This style specifies no animations. -->
     80     <style name="Animation" />
     81 
     82     <!-- Standard animations for a full-screen window or activity. -->
     83     <style name="Animation.Activity">
     84         <item name="activityOpenEnterAnimation">@anim/activity_open_enter</item>
     85         <item name="activityOpenExitAnimation">@anim/activity_open_exit</item>
     86         <item name="activityCloseEnterAnimation">@anim/activity_close_enter</item>
     87         <item name="activityCloseExitAnimation">@anim/activity_close_exit</item>
     88         <item name="taskOpenEnterAnimation">@anim/task_open_enter</item>
     89         <item name="taskOpenExitAnimation">@anim/task_open_exit</item>
     90         <item name="launchTaskBehindTargetAnimation">@anim/launch_task_behind_target</item>
     91         <item name="launchTaskBehindSourceAnimation">@anim/launch_task_behind_source</item>
     92         <item name="taskCloseEnterAnimation">@anim/task_close_enter</item>
     93         <item name="taskCloseExitAnimation">@anim/task_close_exit</item>
     94         <item name="taskToFrontEnterAnimation">@anim/task_open_enter</item>
     95         <item name="taskToFrontExitAnimation">@anim/task_open_exit</item>
     96         <item name="taskToBackEnterAnimation">@anim/task_close_enter</item>
     97         <item name="taskToBackExitAnimation">@anim/task_close_exit</item>
     98         <item name="wallpaperOpenEnterAnimation">@anim/wallpaper_open_enter</item>
     99         <item name="wallpaperOpenExitAnimation">@anim/wallpaper_open_exit</item>
    100         <item name="wallpaperCloseEnterAnimation">@anim/wallpaper_close_enter</item>
    101         <item name="wallpaperCloseExitAnimation">@anim/wallpaper_close_exit</item>
    102         <item name="wallpaperIntraOpenEnterAnimation">@anim/wallpaper_intra_open_enter</item>
    103         <item name="wallpaperIntraOpenExitAnimation">@anim/wallpaper_intra_open_exit</item>
    104         <item name="wallpaperIntraCloseEnterAnimation">@anim/wallpaper_intra_close_enter</item>
    105         <item name="wallpaperIntraCloseExitAnimation">@anim/wallpaper_intra_close_exit</item>
    106         <item name="fragmentOpenEnterAnimation">@animator/fragment_open_enter</item>
    107         <item name="fragmentOpenExitAnimation">@animator/fragment_open_exit</item>
    108         <item name="fragmentCloseEnterAnimation">@animator/fragment_close_enter</item>
    109         <item name="fragmentCloseExitAnimation">@animator/fragment_close_exit</item>
    110         <item name="fragmentFadeEnterAnimation">@animator/fragment_fade_enter</item>
    111         <item name="fragmentFadeExitAnimation">@animator/fragment_fade_exit</item>
    112     </style>
    113 
    114     <!-- Standard animations for a non-full-screen window or activity. -->
    115     <style name="Animation.Dialog">
    116         <item name="windowEnterAnimation">@anim/dialog_enter</item>
    117         <item name="windowExitAnimation">@anim/dialog_exit</item>
    118     </style>
    119 
    120     <!-- Standard animations for a translucent window or activity.  This
    121          style is <em>not</em> used by default for the translucent theme
    122          (since translucent activities are a special case that have no
    123          clear UI paradigm), but you can make your own specialized theme
    124          with this animation style if you would like to have the standard
    125          platform transition animation. -->
    126     <style name="Animation.Translucent">
    127         <item name="windowEnterAnimation">@anim/translucent_enter</item>
    128         <item name="windowExitAnimation">@anim/translucent_exit</item>
    129     </style>
    130 
    131     <!-- Standard animations for a non-full-screen window or activity. -->
    132     <style name="Animation.LockScreen">
    133         <item name="windowEnterAnimation">@anim/lock_screen_enter</item>
    134         <item name="windowExitAnimation">@anim/lock_screen_exit</item>
    135     </style>
    136 
    137     <style name="Animation.OptionsPanel">
    138         <item name="windowEnterAnimation">@anim/options_panel_enter</item>
    139         <item name="windowExitAnimation">@anim/options_panel_exit</item>
    140     </style>
    141 
    142     <style name="Animation.SubMenuPanel">
    143         <item name="windowEnterAnimation">@anim/submenu_enter</item>
    144         <item name="windowExitAnimation">@anim/submenu_exit</item>
    145     </style>
    146 
    147     <style name="Animation.TypingFilter">
    148         <item name="windowEnterAnimation">@anim/grow_fade_in_center</item>
    149         <item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
    150     </style>
    151 
    152     <style name="Animation.TypingFilterRestore">
    153         <item name="windowEnterAnimation">@null</item>
    154         <item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
    155     </style>
    156 
    157     <style name="Animation.Toast">
    158         <item name="windowEnterAnimation">@anim/toast_enter</item>
    159         <item name="windowExitAnimation">@anim/toast_exit</item>
    160     </style>
    161 
    162     <style name="Animation.Tooltip">
    163         <item name="windowEnterAnimation">@anim/tooltip_enter</item>
    164         <item name="windowExitAnimation">@anim/tooltip_exit</item>
    165     </style>
    166 
    167     <style name="Animation.DropDownDown">
    168         <item name="windowEnterAnimation">@anim/grow_fade_in</item>
    169         <item name="windowExitAnimation">@anim/shrink_fade_out</item>
    170     </style>
    171 
    172     <style name="Animation.DropDownUp">
    173         <item name="windowEnterAnimation">@anim/grow_fade_in_from_bottom</item>
    174         <item name="windowExitAnimation">@anim/shrink_fade_out_from_bottom</item>
    175     </style>
    176 
    177     <!-- Window animations that are applied to input method overlay windows. -->
    178     <style name="Animation.InputMethod">
    179         <item name="windowEnterAnimation">@anim/input_method_enter</item>
    180         <item name="windowExitAnimation">@anim/input_method_exit</item>
    181     </style>
    182 
    183     <!-- Window animations that are applied to voice activity windows. -->
    184     <style name="Animation.VoiceActivity">
    185         <item name="windowEnterAnimation">@anim/voice_activity_open_enter</item>
    186         <item name="windowExitAnimation">@anim/voice_activity_close_exit</item>
    187     </style>
    188 
    189     <!-- Window animations that are applied to voice interaction overlay windows. -->
    190     <style name="Animation.VoiceInteractionSession">
    191         <item name="windowEnterAnimation">@anim/voice_layer_enter</item>
    192         <item name="windowExitAnimation">@anim/voice_layer_exit</item>
    193     </style>
    194 
    195     <!-- Special optional fancy IM animations. @hide -->
    196     <style name="Animation.InputMethodFancy">
    197         <item name="windowEnterAnimation">@anim/input_method_fancy_enter</item>
    198         <item name="windowExitAnimation">@anim/input_method_fancy_exit</item>
    199     </style>
    200 
    201     <!-- Window animations that are applied to the search bar overlay window.
    202 	Previously used, but currently unused.
    203          {@hide Pending API council approval} -->
    204     <style name="Animation.SearchBar">
    205         <item name="windowEnterAnimation">@anim/search_bar_enter</item>
    206         <item name="windowExitAnimation">@anim/search_bar_exit</item>
    207     </style>
    208 
    209     <!-- Window animations that are applied to the zoom buttons overlay window. -->
    210     <style name="Animation.ZoomButtons">
    211         <item name="windowEnterAnimation">@anim/fade_in</item>
    212         <item name="windowExitAnimation">@anim/fade_out</item>
    213     </style>
    214 
    215     <!-- Standard animations for wallpapers. -->
    216     <style name="Animation.Wallpaper">
    217         <item name="windowEnterAnimation">@anim/wallpaper_enter</item>
    218         <item name="windowExitAnimation">@anim/wallpaper_exit</item>
    219     </style>
    220 
    221     <!-- A special animation we can use for recent applications,
    222          for devices that can support it (do alpha transformations). -->
    223     <style name="Animation.RecentApplications">
    224         <item name="windowEnterAnimation">@anim/recents_fade_in</item>
    225         <item name="windowShowAnimation">@anim/recents_fade_in</item>
    226         <item name="windowExitAnimation">@anim/recents_fade_out</item>
    227         <item name="windowHideAnimation">@anim/recents_fade_out</item>
    228     </style>
    229 
    230     <!-- A special animation value used internally for popup windows. -->
    231     <style name="Animation.PopupWindow" />
    232 
    233     <!-- Window animations used for action mode UI in overlay mode. -->
    234     <style name="Animation.PopupWindow.ActionMode">
    235         <item name="windowEnterAnimation">@anim/fade_in</item>
    236         <item name="windowExitAnimation">@anim/fade_out</item>
    237     </style>
    238 
    239     <!-- Window animations used for volume panel. -->
    240     <style name="Animation.VolumePanel">
    241         <item name="windowEnterAnimation">@null</item>
    242         <item name="windowExitAnimation">@anim/fade_out</item>
    243     </style>
    244 
    245     <!-- Window animations used for immersive mode confirmation. -->
    246     <style name="Animation.ImmersiveModeConfirmation">
    247         <item name="windowEnterAnimation">@null</item>
    248         <item name="windowExitAnimation">@anim/fast_fade_out</item>
    249     </style>
    250 
    251     <!-- Window animations for screen savers. {@hide} -->
    252     <style name="Animation.Dream">
    253         <item name="windowEnterAnimation">@anim/slow_fade_in</item>
    254         <item name="windowExitAnimation">@anim/fast_fade_out</item>
    255     </style>
    256 
    257     <!-- Status Bar Styles -->
    258     <style name="TextAppearance.StatusBar">
    259         <item name="textAppearance">?attr/textAppearanceSmall</item>
    260     </style>
    261     <style name="TextAppearance.StatusBar.Ticker">
    262     </style>
    263     <style name="TextAppearance.StatusBar.Title">
    264         <item name="textStyle">bold</item>
    265     </style>
    266 
    267     <style name="TextAppearance.StatusBar.Icon">
    268     </style>
    269     <!-- Notification content styles -->
    270     <style name="TextAppearance.StatusBar.EventContent">
    271         <item name="textColor">#999999</item>
    272         <item name="textSize">@dimen/notification_text_size</item>
    273     </style>
    274     <style name="TextAppearance.StatusBar.EventContent.Title">
    275         <item name="textColor">#ffffff</item>
    276         <item name="fontFamily">sans-serif-light</item>
    277         <item name="textSize">@dimen/notification_title_text_size</item>
    278         <item name="textStyle">bold</item>
    279     </style>
    280     <style name="TextAppearance.StatusBar.EventContent.Line2">
    281         <item name="textSize">@dimen/notification_subtext_size</item>
    282     </style>
    283     <style name="TextAppearance.StatusBar.EventContent.Info">
    284         <item name="textSize">@dimen/notification_subtext_size</item>
    285         <item name="textColor">#999999</item>
    286     </style>
    287     <style name="TextAppearance.StatusBar.EventContent.Time">
    288         <item name="textSize">@dimen/notification_subtext_size</item>
    289         <item name="textColor">#999999</item>
    290     </style>
    291     <style name="TextAppearance.StatusBar.EventContent.Emphasis">
    292         <item name="textColor">#CCCCCC</item>
    293     </style>
    294 
    295     <style name="TextAppearance.Small.CalendarViewWeekDayView">
    296         <item name="textStyle">bold</item>
    297     </style>
    298 
    299     <style name="TextAppearance.Suggestion">
    300         <item name="textUnderlineThickness">2dip</item>
    301     </style>
    302 
    303     <style name="TextAppearance.EasyCorrectSuggestion" parent="TextAppearance.Suggestion">
    304         <item name="textUnderlineColor">#88C8C8C8</item>
    305     </style>
    306 
    307     <style name="TextAppearance.MisspelledSuggestion" parent="TextAppearance.Suggestion">
    308         <item name="textUnderlineColor">@color/holo_red_light</item>
    309     </style>
    310 
    311     <style name="TextAppearance.AutoCorrectionSuggestion" parent="TextAppearance.Suggestion">
    312         <item name="textUnderlineColor">@color/holo_blue_light</item>
    313     </style>
    314 
    315     <!-- Widget Styles -->
    316 
    317     <style name="Widget">
    318         <item name="textAppearance">?textAppearance</item>
    319     </style>
    320 
    321     <style name="Widget.AbsListView">
    322         <item name="scrollbars">vertical</item>
    323         <item name="fadingEdge">vertical</item>
    324         <item name="fastScrollStyle">?attr/fastScrollStyle</item>
    325         <item name="defaultFocusHighlightEnabled">false</item>
    326     </style>
    327 
    328     <style name="Widget.GestureOverlayView">
    329         <item name="gestureStrokeWidth">12.0</item>
    330         <item name="gestureColor">#ffffff00</item>
    331         <item name="uncertainGestureColor">#48ffff00</item>
    332         <item name="fadeOffset">420</item>
    333         <item name="fadeDuration">150</item>
    334         <item name="gestureStrokeLengthThreshold">50.0</item>
    335         <item name="gestureStrokeSquarenessThreshold">0.275</item>
    336         <item name="gestureStrokeAngleThreshold">40.0</item>
    337         <item name="eventsInterceptionEnabled">true</item>
    338     </style>
    339 
    340     <style name="Widget.GestureOverlayView.White">
    341         <item name="gestureColor">#ff00ff00</item>
    342         <item name="uncertainGestureColor">#4800ff00</item>
    343     </style>
    344 
    345     <style name="Widget.Button">
    346         <item name="background">@drawable/btn_default</item>
    347         <item name="focusable">true</item>
    348         <item name="clickable">true</item>
    349         <item name="textAppearance">?attr/textAppearanceSmallInverse</item>
    350         <item name="textColor">@color/primary_text_light</item>
    351         <item name="gravity">center_vertical|center_horizontal</item>
    352     </style>
    353 
    354     <style name="Widget.Button.Small">
    355         <item name="background">@drawable/btn_default_small</item>
    356     </style>
    357 
    358     <style name="Widget.Button.Inset">
    359         <item name="background">@drawable/button_inset</item>
    360     </style>
    361 
    362     <style name="Widget.Button.Transparent">
    363         <item name="background">@drawable/btn_default_transparent</item>
    364         <item name="textAppearance">?attr/textAppearanceSmall</item>
    365         <item name="textColor">@color/white</item>
    366     </style>
    367 
    368     <style name="Widget.CompoundButton">
    369         <item name="focusable">true</item>
    370         <item name="clickable">true</item>
    371         <item name="textAppearance">?attr/textAppearance</item>
    372         <item name="textColor">?attr/textColorPrimaryDisableOnly</item>
    373         <item name="gravity">center_vertical|start</item>
    374     </style>
    375 
    376     <style name="Widget.CompoundButton.CheckBox">
    377         <item name="button">?attr/listChoiceIndicatorMultiple</item>
    378     </style>
    379 
    380     <style name="Widget.CompoundButton.RadioButton">
    381         <item name="button">?attr/listChoiceIndicatorSingle</item>
    382     </style>
    383 
    384     <style name="Widget.CompoundButton.Star">
    385         <item name="button">@drawable/btn_star</item>
    386     </style>
    387 
    388     <style name="Widget.Button.Toggle">
    389         <item name="background">@drawable/btn_toggle_bg</item>
    390         <item name="textOn">@string/capital_on</item>
    391         <item name="textOff">@string/capital_off</item>
    392         <item name="disabledAlpha">?attr/disabledAlpha</item>
    393     </style>
    394 
    395     <style name="Widget.StackView">
    396         <item name="resOutColor">@color/holo_blue_light</item>
    397         <item name="clickColor">@color/holo_blue_light</item>
    398     </style>
    399 
    400     <style name="Widget.ProgressBar">
    401         <item name="indeterminateOnly">true</item>
    402         <item name="indeterminateDrawable">@drawable/progress_medium_white</item>
    403         <item name="indeterminateBehavior">repeat</item>
    404         <item name="indeterminateDuration">3500</item>
    405         <item name="minWidth">48dip</item>
    406         <item name="maxWidth">48dip</item>
    407         <item name="minHeight">48dip</item>
    408         <item name="maxHeight">48dip</item>
    409         <item name="mirrorForRtl">false</item>
    410     </style>
    411 
    412     <style name="Widget.ProgressBar.Large">
    413         <item name="indeterminateDrawable">@drawable/progress_large_white</item>
    414         <item name="minWidth">76dip</item>
    415         <item name="maxWidth">76dip</item>
    416         <item name="minHeight">76dip</item>
    417         <item name="maxHeight">76dip</item>
    418     </style>
    419 
    420     <style name="Widget.ProgressBar.Small">
    421         <item name="indeterminateDrawable">@drawable/progress_small_white</item>
    422         <item name="minWidth">16dip</item>
    423         <item name="maxWidth">16dip</item>
    424         <item name="minHeight">16dip</item>
    425         <item name="maxHeight">16dip</item>
    426     </style>
    427 
    428     <style name="Widget.ProgressBar.Inverse">
    429         <item name="indeterminateDrawable">@drawable/progress_medium</item>
    430     </style>
    431 
    432     <style name="Widget.ProgressBar.Large.Inverse">
    433         <item name="indeterminateDrawable">@drawable/progress_large</item>
    434     </style>
    435 
    436     <style name="Widget.ProgressBar.Small.Inverse">
    437         <item name="indeterminateDrawable">@drawable/progress_small</item>
    438     </style>
    439 
    440     <style name="Widget.ProgressBar.Small.Title">
    441         <item name="indeterminateDrawable">@drawable/progress_small_titlebar</item>
    442     </style>
    443 
    444     <style name="Widget.ProgressBar.Horizontal">
    445         <item name="indeterminateOnly">false</item>
    446         <item name="progressDrawable">@drawable/progress_horizontal</item>
    447         <item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal</item>
    448         <item name="minHeight">20dip</item>
    449         <item name="maxHeight">20dip</item>
    450         <item name="mirrorForRtl">true</item>
    451     </style>
    452 
    453     <style name="Widget.SeekBar">
    454         <item name="indeterminateOnly">false</item>
    455         <item name="progressDrawable">@drawable/progress_horizontal</item>
    456         <item name="indeterminateDrawable">@drawable/progress_horizontal</item>
    457         <item name="minHeight">20dip</item>
    458         <item name="maxHeight">20dip</item>
    459         <item name="thumb">@drawable/seek_thumb</item>
    460         <item name="thumbOffset">8dip</item>
    461         <item name="focusable">true</item>
    462         <item name="mirrorForRtl">true</item>
    463     </style>
    464 
    465     <style name="Widget.RatingBar">
    466         <item name="indeterminateOnly">false</item>
    467         <item name="progressDrawable">@drawable/ratingbar_full</item>
    468         <item name="indeterminateDrawable">@drawable/ratingbar_full</item>
    469         <item name="minHeight">57dip</item>
    470         <item name="maxHeight">57dip</item>
    471         <item name="thumb">@null</item>
    472         <item name="mirrorForRtl">true</item>
    473     </style>
    474 
    475     <style name="Widget.RatingBar.Indicator">
    476         <item name="indeterminateOnly">false</item>
    477         <item name="progressDrawable">@drawable/ratingbar</item>
    478         <item name="indeterminateDrawable">@drawable/ratingbar</item>
    479         <item name="minHeight">38dip</item>
    480         <item name="maxHeight">38dip</item>
    481         <item name="thumb">@null</item>
    482         <item name="isIndicator">true</item>
    483     </style>
    484 
    485     <style name="Widget.RatingBar.Small">
    486         <item name="indeterminateOnly">false</item>
    487         <item name="progressDrawable">@drawable/ratingbar_small</item>
    488         <item name="indeterminateDrawable">@drawable/ratingbar_small</item>
    489         <item name="minHeight">14dip</item>
    490         <item name="maxHeight">14dip</item>
    491         <item name="thumb">@null</item>
    492         <item name="isIndicator">true</item>
    493     </style>
    494 
    495     <style name="Widget.TextView">
    496         <item name="textAppearance">?attr/textAppearanceSmall</item>
    497         <item name="textSelectHandleLeft">?attr/textSelectHandleLeft</item>
    498         <item name="textSelectHandleRight">?attr/textSelectHandleRight</item>
    499         <item name="textSelectHandle">?attr/textSelectHandle</item>
    500         <item name="textEditPasteWindowLayout">?attr/textEditPasteWindowLayout</item>
    501         <item name="textEditNoPasteWindowLayout">?attr/textEditNoPasteWindowLayout</item>
    502         <item name="textEditSidePasteWindowLayout">?attr/textEditSidePasteWindowLayout</item>
    503         <item name="textEditSideNoPasteWindowLayout">?attr/textEditSideNoPasteWindowLayout</item>
    504         <item name="textEditSuggestionItemLayout">?attr/textEditSuggestionItemLayout</item>
    505         <item name="textEditSuggestionContainerLayout">?attr/textEditSuggestionContainerLayout</item>
    506         <item name="textEditSuggestionHighlightStyle">?attr/textEditSuggestionHighlightStyle</item>
    507         <item name="textCursorDrawable">?attr/textCursorDrawable</item>
    508         <item name="breakStrategy">high_quality</item>
    509         <item name="hyphenationFrequency">normal</item>
    510     </style>
    511 
    512     <style name="Widget.CheckedTextView">
    513         <item name="textAlignment">viewStart</item>
    514         <item name="breakStrategy">high_quality</item>
    515         <item name="hyphenationFrequency">normal</item>
    516     </style>
    517 
    518     <style name="Widget.TextView.ListSeparator">
    519         <item name="background">@drawable/dark_header_dither</item>
    520         <item name="layout_width">match_parent</item>
    521         <item name="layout_height">wrap_content</item>
    522         <item name="textStyle">bold</item>
    523         <item name="textColor">?textColorSecondary</item>
    524         <item name="textSize">14sp</item>
    525         <item name="gravity">center_vertical</item>
    526         <item name="paddingStart">8dip</item>
    527     </style>
    528 
    529     <style name="Widget.TextView.ListSeparator.White">
    530         <item name="textColor">?textColorPrimaryInverse</item>
    531         <item name="background">@drawable/light_header_dither</item>
    532     </style>
    533 
    534     <style name="Widget.EditText">
    535         <item name="focusable">true</item>
    536         <item name="focusableInTouchMode">true</item>
    537         <item name="clickable">true</item>
    538         <item name="background">?attr/editTextBackground</item>
    539         <item name="textAppearance">?attr/textAppearanceMediumInverse</item>
    540         <item name="textColor">?attr/editTextColor</item>
    541         <item name="gravity">center_vertical</item>
    542         <item name="breakStrategy">simple</item>
    543         <item name="hyphenationFrequency">normal</item>
    544         <item name="defaultFocusHighlightEnabled">false</item>
    545     </style>
    546 
    547     <style name="Widget.ExpandableListView" parent="Widget.ListView">
    548         <item name="groupIndicator">@drawable/expander_group</item>
    549         <item name="indicatorLeft">?attr/expandableListPreferredItemIndicatorLeft</item>
    550         <item name="indicatorRight">?attr/expandableListPreferredItemIndicatorRight</item>
    551         <item name="childDivider">@drawable/divider_horizontal_dark_opaque</item>
    552     </style>
    553 
    554     <style name="Widget.ExpandableListView.White">
    555         <item name="childDivider">@drawable/divider_horizontal_bright_opaque</item>
    556     </style>
    557 
    558     <style name="Widget.FragmentBreadCrumbs">
    559         <item name="padding">4dp</item>
    560         <item name="animateLayoutChanges">true</item>
    561         <item name="itemLayout">@layout/fragment_bread_crumb_item</item>
    562         <item name="itemColor">@null</item>
    563     </style>
    564 
    565     <style name="Widget.ImageWell">
    566         <item name="background">@drawable/panel_picture_frame_background</item>
    567     </style>
    568 
    569     <style name="Widget.ImageButton">
    570         <item name="focusable">true</item>
    571         <item name="clickable">true</item>
    572         <item name="scaleType">center</item>
    573         <item name="background">@drawable/btn_default</item>
    574     </style>
    575 
    576     <style name="Widget.CalendarView">
    577         <item name="showWeekNumber">true</item>
    578         <item name="minDate">01/01/1900</item>
    579         <item name="maxDate">12/31/2100</item>
    580         <item name="shownWeekCount">6</item>
    581         <item name="selectedWeekBackgroundColor">#330099FF</item>
    582         <item name="focusedMonthDateColor">#FFFFFFFF</item>
    583         <item name="unfocusedMonthDateColor">#66FFFFFF</item>
    584         <item name="weekNumberColor">#33FFFFFF</item>
    585         <item name="weekSeparatorLineColor">#19FFFFFF</item>
    586         <item name="selectedDateVerticalBar">@drawable/day_picker_week_view_dayline_holo</item>
    587         <item name="weekDayTextAppearance">@style/TextAppearance.Small.CalendarViewWeekDayView</item>
    588         <item name="dateTextAppearance">?attr/textAppearanceSmall</item>
    589         <item name="calendarViewMode">holo</item>
    590     </style>
    591 
    592     <style name="Widget.NumberPicker">
    593         <item name="internalLayout">@layout/number_picker</item>
    594         <item name="orientation">vertical</item>
    595         <item name="fadingEdge">vertical</item>
    596         <item name="fadingEdgeLength">50dip</item>
    597     </style>
    598 
    599     <style name="Widget.TimePicker">
    600         <item name="timePickerMode">spinner</item>
    601         <item name="legacyLayout">@layout/time_picker_legacy</item>
    602     </style>
    603 
    604     <style name="Widget.DatePicker">
    605         <item name="datePickerMode">spinner</item>
    606         <item name="legacyLayout">@layout/date_picker_legacy</item>
    607         <item name="calendarViewShown">false</item>
    608     </style>
    609 
    610     <style name="Widget.AutoCompleteTextView" parent="Widget.EditText">
    611         <item name="completionHintView">@layout/simple_dropdown_hint</item>
    612         <item name="completionThreshold">2</item>
    613         <item name="dropDownSelector">@drawable/list_selector_background</item>
    614         <item name="popupBackground">@drawable/spinner_dropdown_background</item>
    615         <item name="dropDownVerticalOffset">-6dip</item>
    616         <item name="dropDownHorizontalOffset">0dip</item>
    617         <item name="dropDownWidth">wrap_content</item>
    618     </style>
    619 
    620     <style name="Widget.Spinner">
    621         <item name="background">@drawable/btn_dropdown</item>
    622         <item name="clickable">true</item>
    623         <item name="spinnerMode">dialog</item>
    624 
    625         <item name="dropDownSelector">@drawable/list_selector_background</item>
    626         <item name="popupBackground">@drawable/spinner_dropdown_background</item>
    627         <item name="dropDownVerticalOffset">-10dip</item>
    628         <item name="dropDownHorizontalOffset">0dip</item>
    629         <item name="dropDownWidth">wrap_content</item>
    630         <item name="popupPromptView">@layout/simple_dropdown_hint</item>
    631         <item name="gravity">center</item>
    632     </style>
    633 
    634     <style name="Widget.Spinner.DropDown">
    635         <item name="spinnerMode">dropdown</item>
    636     </style>
    637 
    638     <style name="Widget.TextView.PopupMenu">
    639         <item name="clickable">true</item>
    640         <item name="textAppearance">@style/TextAppearance.Widget.TextView.PopupMenu</item>
    641     </style>
    642 
    643     <style name="Widget.TextView.SpinnerItem">
    644         <item name="textAppearance">@style/TextAppearance.Widget.TextView.SpinnerItem</item>
    645     </style>
    646 
    647     <style name="Widget.DropDownItem">
    648         <item name="textAppearance">@style/TextAppearance.Widget.DropDownItem</item>
    649         <item name="paddingStart">@dimen/dropdownitem_text_padding_left</item>
    650         <item name="paddingEnd">@dimen/dropdownitem_text_padding_right</item>
    651         <item name="gravity">center_vertical</item>
    652     </style>
    653 
    654     <style name="Widget.DropDownItem.Spinner">
    655         <item name="checkMark">?attr/listChoiceIndicatorSingle</item>
    656     </style>
    657 
    658     <style name="Widget.ScrollView">
    659         <item name="scrollbars">vertical</item>
    660         <item name="fadingEdge">vertical</item>
    661         <item name="focusableInTouchMode">@bool/config_focusScrollContainersInTouchMode</item>
    662     </style>
    663 
    664     <style name="Widget.HorizontalScrollView">
    665         <item name="scrollbars">horizontal</item>
    666         <item name="fadingEdge">horizontal</item>
    667         <item name="focusableInTouchMode">@bool/config_focusScrollContainersInTouchMode</item>
    668     </style>
    669 
    670     <style name="Widget.ListView" parent="Widget.AbsListView">
    671         <item name="listSelector">@drawable/list_selector_background</item>
    672         <item name="cacheColorHint">?attr/colorBackgroundCacheHint</item>
    673         <item name="divider">@drawable/divider_horizontal_dark_opaque</item>
    674     </style>
    675 
    676     <style name="Widget.ListView.White" parent="Widget.AbsListView">
    677         <item name="listSelector">@drawable/list_selector_background</item>
    678         <item name="cacheColorHint">?attr/colorBackgroundCacheHint</item>
    679         <item name="divider">@drawable/divider_horizontal_bright_opaque</item>
    680     </style>
    681 
    682     <style name="Widget.ListView.DropDown">
    683     	<item name="cacheColorHint">@null</item>
    684         <item name="divider">@drawable/divider_horizontal_bright_opaque</item>
    685     </style>
    686 
    687     <style name="Widget.ListView.Menu" parent="Widget.Holo.ListView">
    688 		<item name="cacheColorHint">@null</item>
    689         <item name="scrollbars">vertical</item>
    690         <item name="fadingEdge">none</item>
    691         <!-- Light background for the list in menus, so the divider for bright themes -->
    692         <item name="divider">@drawable/divider_horizontal_dark</item>
    693     </style>
    694 
    695     <style name="Widget.GridView" parent="Widget.AbsListView">
    696         <item name="listSelector">@drawable/grid_selector_background</item>
    697     </style>
    698 
    699     <style name="Widget.WebView">
    700         <item name="focusable">true</item>
    701         <item name="focusableInTouchMode">true</item>
    702         <item name="scrollbars">horizontal|vertical</item>
    703     </style>
    704 
    705     <style name="Widget.WebTextView">
    706         <item name="focusable">true</item>
    707         <item name="focusableInTouchMode">true</item>
    708         <item name="clickable">true</item>
    709         <item name="completionHintView">@layout/simple_dropdown_item_1line</item>
    710         <item name="textAppearance">?attr/textAppearanceLargeInverse</item>
    711         <item name="completionThreshold">2</item>
    712         <item name="dropDownSelector">@drawable/list_selector_background</item>
    713         <item name="popupBackground">@drawable/spinner_dropdown_background</item>
    714         <item name="textCursorDrawable">@drawable/text_cursor_holo_light</item>
    715     </style>
    716 
    717     <style name="Widget.TabWidget">
    718         <item name="textAppearance">@style/TextAppearance.Widget.TabWidget</item>
    719         <item name="ellipsize">marquee</item>
    720         <item name="singleLine">true</item>
    721         <item name="tabStripLeft">@drawable/tab_bottom_left</item>
    722         <item name="tabStripRight">@drawable/tab_bottom_right</item>
    723         <item name="tabStripEnabled">true</item>
    724         <item name="divider">@null</item>
    725         <item name="gravity">fill_horizontal|center_vertical</item>
    726         <item name="tabLayout">@layout/tab_indicator</item>
    727     </style>
    728 
    729     <style name="Widget.Gallery">
    730         <item name="fadingEdge">none</item>
    731         <item name="gravity">center_vertical</item>
    732         <item name="spacing">-20dip</item>
    733         <item name="unselectedAlpha">0.85</item>
    734     </style>
    735 
    736     <style name="Widget.PopupWindow">
    737         <item name="popupBackground">@drawable/editbox_dropdown_background_dark</item>
    738         <item name="popupAnimationStyle">@style/Animation.PopupWindow</item>
    739     </style>
    740 
    741     <style name="Widget.KeyboardView" parent="Widget">
    742         <item name="background">@drawable/keyboard_background</item>
    743         <item name="keyBackground">@drawable/btn_keyboard_key</item>
    744         <item name="keyTextSize">22sp</item>
    745         <item name="keyTextColor">#FFFFFFFF</item>
    746         <item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
    747         <item name="keyPreviewOffset">-12dip</item>
    748         <item name="keyPreviewHeight">80dip</item>
    749         <item name="labelTextSize">14sp</item>
    750         <item name="popupLayout">@layout/keyboard_popup_keyboard</item>
    751         <item name="verticalCorrection">-10dip</item>
    752         <item name="shadowColor">#BB000000</item>
    753         <item name="shadowRadius">2.75</item>
    754     </style>
    755 
    756     <style name="Widget.GenericQuickContactBadge">
    757         <item name="background">@null</item>
    758         <item name="clickable">true</item>
    759         <item name="scaleType">fitCenter</item>
    760         <item name="src">@drawable/ic_contact_picture</item>
    761     </style>
    762 
    763     <style name="Widget.QuickContactBadge" parent="Widget.GenericQuickContactBadge">
    764         <item name="layout_width">64dip</item>
    765         <item name="layout_height">64dip</item>
    766     </style>
    767 
    768     <style name="Widget.QuickContactBadgeSmall" parent="Widget.GenericQuickContactBadge">
    769         <item name="layout_width">40dip</item>
    770         <item name="layout_height">40dip</item>
    771     </style>
    772 
    773     <style name="Widget.QuickContactBadge.WindowSmall">
    774         <item name="quickContactWindowSize">modeSmall</item>
    775     </style>
    776 
    777     <style name="Widget.QuickContactBadge.WindowMedium">
    778         <item name="quickContactWindowSize">modeMedium</item>
    779     </style>
    780 
    781     <style name="Widget.QuickContactBadge.WindowLarge">
    782         <item name="quickContactWindowSize">modeLarge</item>
    783     </style>
    784 
    785     <style name="Widget.QuickContactBadgeSmall.WindowSmall">
    786         <item name="quickContactWindowSize">modeSmall</item>
    787     </style>
    788 
    789     <style name="Widget.QuickContactBadgeSmall.WindowMedium">
    790         <item name="quickContactWindowSize">modeMedium</item>
    791     </style>
    792 
    793     <style name="Widget.QuickContactBadgeSmall.WindowLarge">
    794         <item name="quickContactWindowSize">modeLarge</item>
    795     </style>
    796 
    797     <style name="Widget.CompoundButton.Switch">
    798         <item name="textOn">@string/capital_on</item>
    799         <item name="textOff">@string/capital_off</item>
    800     </style>
    801 
    802     <!-- Text Appearances -->
    803     <eat-comment />
    804 
    805     <style name="TextAppearance">
    806         <item name="textColor">?textColorPrimary</item>
    807         <item name="textColorHighlight">?textColorHighlight</item>
    808         <item name="textColorHint">?textColorHint</item>
    809         <item name="textColorLink">?textColorLink</item>
    810         <item name="textSize">16sp</item>
    811         <item name="textStyle">normal</item>
    812     </style>
    813 
    814     <style name="TextAppearance.Inverse">
    815         <item name="textColor">?textColorPrimaryInverse</item>
    816         <item name="textColorHint">?textColorHintInverse</item>
    817         <item name="textColorHighlight">?textColorHighlightInverse</item>
    818         <item name="textColorLink">?textColorLinkInverse</item>
    819     </style>
    820 
    821     <style name="TextAppearance.Theme">
    822     </style>
    823 
    824     <style name="TextAppearance.DialogWindowTitle">
    825         <item name="textSize">18sp</item>
    826     </style>
    827 
    828     <style name="TextAppearance.Large">
    829         <item name="textSize">22sp</item>
    830     </style>
    831 
    832     <style name="TextAppearance.Large.Inverse">
    833         <item name="textColor">?textColorPrimaryInverse</item>
    834         <item name="textColorHint">?textColorHintInverse</item>
    835         <item name="textColorHighlight">?textColorHighlightInverse</item>
    836         <item name="textColorLink">?textColorLinkInverse</item>
    837     </style>
    838 
    839     <style name="TextAppearance.Medium">
    840         <item name="textSize">18sp</item>
    841     </style>
    842 
    843     <style name="TextAppearance.Medium.Inverse">
    844         <item name="textColor">?textColorPrimaryInverse</item>
    845         <item name="textColorHint">?textColorHintInverse</item>
    846         <item name="textColorHighlight">?textColorHighlightInverse</item>
    847         <item name="textColorLink">?textColorLinkInverse</item>
    848     </style>
    849 
    850     <style name="TextAppearance.Small">
    851         <item name="textSize">14sp</item>
    852         <item name="textColor">?textColorSecondary</item>
    853     </style>
    854 
    855     <style name="TextAppearance.Small.Inverse">
    856         <item name="textColor">?textColorSecondaryInverse</item>
    857         <item name="textColorHint">?textColorHintInverse</item>
    858         <item name="textColorHighlight">?textColorHighlightInverse</item>
    859         <item name="textColorLink">?textColorLinkInverse</item>
    860     </style>
    861 
    862     <style name="TextAppearance.Theme.Dialog" parent="TextAppearance.Theme" />
    863 
    864     <style name="TextAppearance.Widget" />
    865 
    866     <style name="TextAppearance.Widget.Button" parent="TextAppearance.Small.Inverse">
    867         <item name="textColor">@color/primary_text_light_nodisable</item>
    868     </style>
    869 
    870     <style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
    871         <item name="textColor">?textColorPrimary</item>
    872         <!-- dp is used on purpose here instead of sp; there is not space
    873              for larger font sizes based on the user setting. Newer apps
    874              should not receive the legacy icon menu panel. -->
    875         <item name="textSize">14dp</item>
    876     </style>
    877 
    878     <style name="TextAppearance.Widget.EditText">
    879         <item name="textColor">@color/widget_edittext_dark</item>
    880         <item name="textColorHint">@color/hint_foreground_light</item>
    881     </style>
    882 
    883     <style name="TextAppearance.Widget.TabWidget">
    884         <item name="textSize">14sp</item>
    885         <item name="textStyle">normal</item>
    886         <item name="textColor">@color/tab_indicator_text</item>
    887     </style>
    888 
    889     <style name="TextAppearance.Widget.TextView">
    890         <item name="textColor">?textColorPrimaryDisableOnly</item>
    891         <item name="textColorHint">?textColorHint</item>
    892     </style>
    893 
    894     <style name="TextAppearance.Widget.TextView.PopupMenu">
    895         <item name="textSize">18sp</item>
    896         <item name="textColor">?textColorPrimaryDisableOnly</item>
    897         <item name="textColorHint">?textColorHint</item>
    898     </style>
    899 
    900     <style name="TextAppearance.Widget.DropDownHint">
    901         <item name="textColor">?textColorPrimaryInverse</item>
    902         <item name="textSize">14sp</item>
    903     </style>
    904 
    905     <style name="TextAppearance.Widget.DropDownItem">
    906         <item name="textColor">@color/primary_text_light_disable_only</item>
    907     </style>
    908 
    909     <style name="TextAppearance.Widget.TextView.SpinnerItem">
    910         <item name="textColor">@color/primary_text_light_disable_only</item>
    911     </style>
    912 
    913     <!-- @hide -->
    914     <style name="TextAppearance.SlidingTabNormal" parent="TextAppearance.Medium">
    915         <item name="textColor">?attr/textColorTertiary</item>
    916         <item name="textSize">28sp</item>
    917         <item name="shadowColor">@color/sliding_tab_text_color_shadow</item>
    918         <item name="shadowDx">0.0</item>
    919         <item name="shadowDy">1.0</item>
    920         <item name="shadowRadius">5.0</item>
    921     </style>
    922 
    923     <!-- @hide -->
    924     <style name="TextAppearance.SlidingTabActive" parent="TextAppearance.Medium">
    925         <item name="textColor">@color/sliding_tab_text_color_active</item>
    926         <item name="textSize">28sp</item>
    927     </style>
    928 
    929     <!-- @hide -->
    930      <style name="TextAppearance.SearchResult">
    931          <item name="textStyle">normal</item>
    932          <item name="textColor">?textColorPrimaryInverse</item>
    933          <item name="textColorHint">?textColorHintInverse</item>
    934      </style>
    935 
    936      <!-- @hide -->
    937      <style name="TextAppearance.SearchResult.Title">
    938          <item name="textSize">18sp</item>
    939      </style>
    940 
    941      <!-- @hide -->
    942      <style name="TextAppearance.SearchResult.Subtitle">
    943          <item name="textSize">14sp</item>
    944          <item name="textColor">?textColorSecondaryInverse</item>
    945      </style>
    946 
    947     <style name="TextAppearance.WindowTitle">
    948         <item name="textColor">#fff</item>
    949         <item name="textSize">14sp</item>
    950         <item name="textStyle">bold</item>
    951     </style>
    952 
    953     <style name="TextAppearance.Large.Inverse.NumberPickerInputText">
    954         <item name="textColor">@color/primary_text_light</item>
    955         <item name="textSize">30sp</item>
    956     </style>
    957 
    958     <style name="TextAppearance.Toast">
    959         <item name="fontFamily">sans-serif</item>
    960         <item name="textSize">14sp</item>
    961     </style>
    962 
    963     <style name="TextAppearance.Tooltip">
    964         <item name="fontFamily">sans-serif</item>
    965         <item name="textSize">14sp</item>
    966     </style>
    967 
    968     <style name="Widget.ActivityChooserView">
    969         <item name="gravity">center</item>
    970         <item name="background">@drawable/ab_share_pack_holo_dark</item>
    971         <item name="divider">?attr/dividerVertical</item>
    972         <item name="showDividers">middle</item>
    973         <item name="dividerPadding">6dip</item>
    974     </style>
    975 
    976     <style name="TextAppearance.SuggestionHighlight">
    977         <item name="textSize">18sp</item>
    978         <item name="textColor">@color/suggestion_highlight_text</item>
    979     </style>
    980 
    981     <!-- Preference Styles -->
    982 
    983     <style name="Preference">
    984         <item name="layout">@layout/preference</item>
    985     </style>
    986 
    987     <style name="PreferenceFragment">
    988         <item name="layout">@layout/preference_list_fragment</item>
    989         <item name="paddingStart">0dp</item>
    990         <item name="paddingEnd">0dp</item>
    991     </style>
    992 
    993     <style name="PreferenceActivity">
    994         <item name="layout">@layout/preference_list_content</item>
    995         <item name="headerLayout">@layout/preference_header_item</item>
    996         <item name="headerRemoveIconIfEmpty">false</item>
    997     </style>
    998 
    999     <style name="Preference.Information">
   1000         <item name="layout">@layout/preference_information</item>
   1001         <item name="enabled">false</item>
   1002         <item name="shouldDisableView">false</item>
   1003     </style>
   1004 
   1005     <style name="Preference.Category">
   1006         <item name="layout">@layout/preference_category</item>
   1007         <!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
   1008         <item name="shouldDisableView">false</item>
   1009         <item name="selectable">false</item>
   1010     </style>
   1011 
   1012     <style name="Preference.CheckBoxPreference">
   1013         <item name="widgetLayout">@layout/preference_widget_checkbox</item>
   1014     </style>
   1015 
   1016     <style name="Preference.SwitchPreference">
   1017         <item name="widgetLayout">@layout/preference_widget_switch</item>
   1018         <item name="switchTextOn">@string/capital_on</item>
   1019         <item name="switchTextOff">@string/capital_off</item>
   1020     </style>
   1021 
   1022     <style name="Preference.SeekBarPreference">
   1023         <item name="layout">@layout/preference_widget_seekbar</item>
   1024     </style>
   1025 
   1026     <style name="Preference.PreferenceScreen">
   1027     </style>
   1028 
   1029     <style name="Preference.DialogPreference">
   1030         <item name="positiveButtonText">@string/ok</item>
   1031         <item name="negativeButtonText">@string/cancel</item>
   1032     </style>
   1033 
   1034     <style name="Preference.DialogPreference.YesNoPreference">
   1035         <item name="positiveButtonText">@string/yes</item>
   1036         <item name="negativeButtonText">@string/no</item>
   1037     </style>
   1038 
   1039     <style name="Preference.DialogPreference.SeekBarPreference">
   1040         <item name="dialogLayout">@layout/preference_dialog_seekbar</item>
   1041     </style>
   1042 
   1043     <style name="Preference.DialogPreference.EditTextPreference">
   1044         <item name="dialogLayout">@layout/preference_dialog_edittext</item>
   1045     </style>
   1046 
   1047     <style name="Preference.RingtonePreference">
   1048         <item name="ringtoneType">ringtone</item>
   1049         <item name="showSilent">true</item>
   1050         <item name="showDefault">true</item>
   1051     </style>
   1052 
   1053     <style name="Preference.Holo">
   1054         <item name="layout">@layout/preference_holo</item>
   1055     </style>
   1056 
   1057     <style name="PreferenceFragment.Holo">
   1058         <item name="paddingStart">@dimen/preference_fragment_padding_side</item>
   1059         <item name="paddingEnd">@dimen/preference_fragment_padding_side</item>
   1060     </style>
   1061 
   1062     <style name="Preference.Holo.Information">
   1063         <item name="layout">@layout/preference_information_holo</item>
   1064         <item name="enabled">false</item>
   1065         <item name="shouldDisableView">false</item>
   1066     </style>
   1067 
   1068     <style name="Preference.Holo.Category">
   1069         <item name="layout">@layout/preference_category_holo</item>
   1070         <!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
   1071         <item name="shouldDisableView">false</item>
   1072         <item name="selectable">false</item>
   1073     </style>
   1074 
   1075     <style name="Preference.Holo.CheckBoxPreference">
   1076         <item name="widgetLayout">@layout/preference_widget_checkbox</item>
   1077     </style>
   1078 
   1079     <style name="Preference.Holo.SwitchPreference">
   1080         <item name="widgetLayout">@layout/preference_widget_switch</item>
   1081         <item name="switchTextOn">@string/capital_on</item>
   1082         <item name="switchTextOff">@string/capital_off</item>
   1083     </style>
   1084 
   1085     <style name="Preference.Holo.SeekBarPreference">
   1086         <item name="layout">@layout/preference_widget_seekbar</item>
   1087     </style>
   1088 
   1089     <style name="Preference.Holo.PreferenceScreen">
   1090     </style>
   1091 
   1092     <style name="Preference.Holo.DialogPreference">
   1093         <item name="positiveButtonText">@string/ok</item>
   1094         <item name="negativeButtonText">@string/cancel</item>
   1095     </style>
   1096 
   1097     <style name="Preference.Holo.DialogPreference.YesNoPreference">
   1098         <item name="positiveButtonText">@string/yes</item>
   1099         <item name="negativeButtonText">@string/no</item>
   1100     </style>
   1101 
   1102     <style name="Preference.Holo.DialogPreference.EditTextPreference">
   1103         <item name="dialogLayout">@layout/preference_dialog_edittext</item>
   1104     </style>
   1105 
   1106     <style name="Preference.Holo.RingtonePreference">
   1107         <item name="ringtoneType">ringtone</item>
   1108         <item name="showSilent">true</item>
   1109         <item name="showDefault">true</item>
   1110     </style>
   1111 
   1112     <!-- No margins or background by default. Could be different for x-large screens -->
   1113     <style name="PreferencePanel">
   1114     </style>
   1115 
   1116     <!-- The attributes are overridden here because the x-large or large resources may have
   1117          changed the margins and background in the parent PreferencePanel style. -->
   1118     <style name="PreferencePanel.Dialog">
   1119         <item name="layout_marginStart">0dip</item>
   1120         <item name="layout_marginEnd">0dip</item>
   1121         <item name="layout_marginTop">0dip</item>
   1122         <item name="layout_marginBottom">0dip</item>
   1123         <item name="background">@null</item>
   1124     </style>
   1125 
   1126     <style name="PreferenceHeaderPanel">
   1127         <item name="layout_marginStart">@dimen/preference_screen_side_margin</item>
   1128         <item name="layout_marginEnd">@dimen/preference_screen_side_margin_negative</item>
   1129         <item name="paddingTop">@dimen/preference_screen_header_vertical_padding</item>
   1130         <item name="paddingBottom">@dimen/preference_screen_header_vertical_padding</item>
   1131     </style>
   1132 
   1133     <style name="PreferenceHeaderList">
   1134         <item name="paddingStart">@dimen/preference_screen_header_padding_side</item>
   1135         <item name="paddingEnd">@dimen/preference_screen_header_padding_side</item>
   1136         <item name="scrollbarStyle">@integer/preference_screen_header_scrollbarStyle</item>
   1137     </style>
   1138 
   1139     <style name="PreferenceFragmentList">
   1140         <item name="paddingStart">@dimen/preference_fragment_padding_side</item>
   1141         <item name="paddingEnd">@dimen/preference_fragment_padding_side</item>
   1142         <item name="paddingTop">0dp</item>
   1143         <item name="paddingBottom">@dimen/preference_fragment_padding_bottom</item>
   1144     </style>
   1145 
   1146     <!-- Other Misc Styles -->
   1147     <eat-comment />
   1148 
   1149     <style name="MediaButton">
   1150         <item name="background">@null</item>
   1151         <item name="layout_width">71dip</item>
   1152         <item name="layout_height">52dip</item>
   1153     </style>
   1154 
   1155     <style name="MediaButton.Previous">
   1156         <item name="src">@drawable/ic_media_previous</item>
   1157         <item name="contentDescription">@string/lockscreen_transport_prev_description</item>
   1158     </style>
   1159 
   1160     <style name="MediaButton.Next">
   1161         <item name="src">@drawable/ic_media_next</item>
   1162         <item name="contentDescription">@string/lockscreen_transport_next_description</item>
   1163     </style>
   1164 
   1165     <style name="MediaButton.Play">
   1166         <item name="src">@drawable/ic_media_play</item>
   1167         <item name="contentDescription">@string/lockscreen_transport_play_description</item>
   1168     </style>
   1169 
   1170     <style name="MediaButton.Ffwd">
   1171         <item name="src">@drawable/ic_media_ff</item>
   1172         <item name="contentDescription">@string/lockscreen_transport_ffw_description</item>
   1173     </style>
   1174 
   1175     <style name="MediaButton.Rew">
   1176         <item name="src">@drawable/ic_media_rew</item>
   1177         <item name="contentDescription">@string/lockscreen_transport_rew_description</item>
   1178     </style>
   1179 
   1180     <style name="MediaButton.Pause">
   1181         <item name="src">@drawable/ic_media_pause</item>
   1182         <item name="contentDescription">@string/lockscreen_transport_pause_description</item>
   1183     </style>
   1184 
   1185     <style name="ZoomControls">
   1186         <item name="gravity">bottom</item>
   1187         <item name="paddingStart">15dip</item>
   1188         <item name="paddingEnd">15dip</item>
   1189     </style>
   1190 
   1191     <!-- Style you can use with a container (typically a horizontal
   1192          LinearLayout) to get the standard "button bar" background and
   1193          spacing. @hide -->
   1194     <style name="ButtonBar">
   1195         <item name="paddingTop">5dip</item>
   1196         <item name="paddingStart">4dip</item>
   1197         <item name="paddingEnd">4dip</item>
   1198         <item name="paddingBottom">1dip</item>
   1199         <item name="background">@drawable/bottom_bar</item>
   1200     </style>
   1201 
   1202     <!-- Style you can use with a container (typically a horizontal
   1203          LinearLayout) to get a "segmented button" background and spacing. -->
   1204     <style name="SegmentedButton">
   1205         <item name="background">@drawable/btn_default</item>
   1206         <item name="divider">?attr/dividerVertical</item>
   1207         <item name="showDividers">middle</item>
   1208     </style>
   1209 
   1210     <!-- Style for the small popup windows that contain text selection anchors. -->
   1211     <style name="Widget.TextSelectHandle">
   1212         <item name="popupAnimationStyle">@style/Animation.TextSelectHandle</item>
   1213     </style>
   1214 
   1215     <!-- Style for animating text selection handles. -->
   1216     <style name="Animation.TextSelectHandle">
   1217         <item name="windowEnterAnimation">@anim/fast_fade_in</item>
   1218         <item name="windowExitAnimation">@anim/fast_fade_out</item>
   1219     </style>
   1220 
   1221     <style name="Widget.ActionBar">
   1222         <item name="background">@drawable/action_bar_background</item>
   1223         <item name="displayOptions">useLogo|showHome|showTitle</item>
   1224         <item name="divider">@drawable/action_bar_divider</item>
   1225         <item name="height">?attr/actionBarSize</item>
   1226         <item name="paddingStart">0dip</item>
   1227         <item name="paddingTop">0dip</item>
   1228         <item name="paddingEnd">0dip</item>
   1229         <item name="paddingBottom">0dip</item>
   1230         <item name="titleTextStyle">@style/TextAppearance.Widget.ActionBar.Title</item>
   1231         <item name="subtitleTextStyle">@style/TextAppearance.Widget.ActionBar.Subtitle</item>
   1232         <item name="progressBarStyle">@style/Widget.ProgressBar.Horizontal</item>
   1233         <item name="indeterminateProgressStyle">@style/Widget.ProgressBar.Small</item>
   1234         <item name="homeLayout">@layout/action_bar_home</item>
   1235     </style>
   1236 
   1237     <style name="Widget.ActionMode">
   1238         <item name="background">?attr/actionModeBackground</item>
   1239         <item name="backgroundSplit">?attr/actionModeSplitBackground</item>
   1240         <item name="height">?attr/actionBarSize</item>
   1241         <item name="titleTextStyle">@style/TextAppearance.Widget.ActionMode.Title</item>
   1242         <item name="subtitleTextStyle">@style/TextAppearance.Widget.ActionMode.Subtitle</item>
   1243     </style>
   1244 
   1245     <style name="Widget.Toolbar">
   1246         <item name="titleTextAppearance">@style/TextAppearance.Widget.Toolbar.Title</item>
   1247         <item name="subtitleTextAppearance">@style/TextAppearance.Widget.Toolbar.Subtitle</item>
   1248         <item name="minHeight">?attr/actionBarSize</item>
   1249         <item name="titleMargin">4dp</item>
   1250         <item name="maxButtonHeight">@dimen/action_bar_default_height_material</item>
   1251         <item name="buttonGravity">top</item>
   1252         <item name="navigationButtonStyle">@style/Widget.Toolbar.Button.Navigation</item>
   1253         <item name="collapseIcon">?attr/homeAsUpIndicator</item>
   1254         <item name="collapseContentDescription">@string/toolbar_collapse_description</item>
   1255         <item name="contentInsetStart">16dp</item>
   1256         <item name="contentInsetStartWithNavigation">@dimen/action_bar_content_inset_with_nav</item>
   1257         <item name="touchscreenBlocksFocus">true</item>
   1258         <item name="keyboardNavigationCluster">true</item>
   1259     </style>
   1260 
   1261     <style name="Widget.Toolbar.Button.Navigation" parent="Widget">
   1262         <item name="background">?attr/selectableItemBackground</item>
   1263         <item name="minWidth">56dp</item>
   1264         <item name="scaleType">center</item>
   1265     </style>
   1266 
   1267     <style name="TextAppearance.Widget.ActionBar.Title" parent="TextAppearance.Medium">
   1268     </style>
   1269 
   1270     <style name="TextAppearance.Widget.ActionBar.Subtitle" parent="TextAppearance.Small">
   1271     </style>
   1272 
   1273     <style name="TextAppearance.Widget.ActionMode.Title" parent="TextAppearance.Medium">
   1274     </style>
   1275 
   1276     <style name="TextAppearance.Widget.ActionMode.Subtitle" parent="TextAppearance.Small">
   1277         <item name="textColor">?attr/textColorSecondary</item>
   1278     </style>
   1279 
   1280     <style name="TextAppearance.Widget.Toolbar.Title" parent="TextAppearance.Widget.ActionBar.Title">
   1281     </style>
   1282 
   1283     <style name="TextAppearance.Widget.Toolbar.Subtitle" parent="TextAppearance.Widget.ActionBar.Subtitle">
   1284     </style>
   1285 
   1286     <style name="Widget.ActionButton">
   1287         <item name="background">?attr/actionBarItemBackground</item>
   1288         <item name="paddingStart">12dip</item>
   1289         <item name="paddingEnd">12dip</item>
   1290         <item name="minWidth">@dimen/action_button_min_width</item>
   1291         <item name="minHeight">?attr/actionBarSize</item>
   1292         <item name="gravity">center</item>
   1293         <item name="maxLines">2</item>
   1294     </style>
   1295 
   1296     <style name="Widget.ActionButton.Overflow">
   1297         <item name="src">@drawable/ic_menu_more</item>
   1298         <item name="contentDescription">@string/action_menu_overflow_description</item>
   1299         <item name="tooltipText">@string/action_menu_overflow_description</item>
   1300     </style>
   1301 
   1302     <style name="Widget.ActionButton.CloseMode">
   1303         <!-- Should match Widget.Toolbar.Button.Navigation minWidth. -->
   1304         <item name="minWidth">56dp</item>
   1305     </style>
   1306 
   1307     <style name="Widget.ActionBar.TabView" parent="Widget">
   1308         <item name="gravity">center_horizontal</item>
   1309         <item name="background">@drawable/minitab_lt</item>
   1310         <item name="paddingStart">4dip</item>
   1311         <item name="paddingEnd">4dip</item>
   1312     </style>
   1313 
   1314     <style name="Widget.ActionBar.TabBar" parent="Widget">
   1315     </style>
   1316 
   1317     <style name="Widget.ActionBar.TabText" parent="Widget">
   1318         <item name="textAppearance">@style/TextAppearance.Widget.TextView.PopupMenu</item>
   1319         <item name="textColor">?attr/textColorPrimaryInverse</item>
   1320         <item name="textSize">18sp</item>
   1321     </style>
   1322 
   1323     <style name="Widget.ListPopupWindow">
   1324         <item name="dropDownSelector">@drawable/list_selector_background</item>
   1325         <item name="popupBackground">@drawable/spinner_dropdown_background</item>
   1326         <item name="dropDownVerticalOffset">-10dip</item>
   1327         <item name="dropDownHorizontalOffset">0dip</item>
   1328         <item name="dropDownWidth">wrap_content</item>
   1329     </style>
   1330 
   1331     <style name="Widget.PopupMenu" parent="Widget.ListPopupWindow">
   1332     </style>
   1333 
   1334     <style name="TextAppearance.Widget.PopupMenu">
   1335         <item name="textColor">@color/primary_text_light</item>
   1336         <item name="textColorHint">@color/hint_foreground_light</item>
   1337         <item name="textColorHighlight">@color/highlighted_text_light</item>
   1338         <item name="textColorLink">@color/link_text_light</item>
   1339     </style>
   1340 
   1341     <style name="TextAppearance.Widget.PopupMenu.Large">
   1342         <item name="textSize">22sp</item>
   1343     </style>
   1344 
   1345     <style name="TextAppearance.Widget.PopupMenu.Small">
   1346         <item name="textSize">14sp</item>
   1347         <item name="textColor">@color/secondary_text_light</item>
   1348     </style>
   1349 
   1350     <!-- Pointer styles -->
   1351     <style name="Pointer">
   1352         <item name="pointerIconArrow">@drawable/pointer_arrow_icon</item>
   1353         <item name="pointerIconSpotHover">@drawable/pointer_spot_hover_icon</item>
   1354         <item name="pointerIconSpotTouch">@drawable/pointer_spot_touch_icon</item>
   1355         <item name="pointerIconSpotAnchor">@drawable/pointer_spot_anchor_icon</item>
   1356         <item name="pointerIconHand">@drawable/pointer_hand_icon</item>
   1357         <item name="pointerIconContextMenu">@drawable/pointer_context_menu_icon</item>
   1358         <item name="pointerIconHelp">@drawable/pointer_help_icon</item>
   1359         <item name="pointerIconWait">@drawable/pointer_wait_icon</item>
   1360         <item name="pointerIconCell">@drawable/pointer_cell_icon</item>
   1361         <item name="pointerIconCrosshair">@drawable/pointer_crosshair_icon</item>
   1362         <item name="pointerIconText">@drawable/pointer_text_icon</item>
   1363         <item name="pointerIconVerticalText">@drawable/pointer_vertical_text_icon</item>
   1364         <item name="pointerIconAlias">@drawable/pointer_alias_icon</item>
   1365         <item name="pointerIconCopy">@drawable/pointer_copy_icon</item>
   1366         <item name="pointerIconAllScroll">@drawable/pointer_all_scroll_icon</item>
   1367         <item name="pointerIconNodrop">@drawable/pointer_nodrop_icon</item>
   1368         <item name="pointerIconHorizontalDoubleArrow">
   1369             @drawable/pointer_horizontal_double_arrow_icon
   1370         </item>
   1371         <item name="pointerIconVerticalDoubleArrow">
   1372             @drawable/pointer_vertical_double_arrow_icon
   1373         </item>
   1374         <item name="pointerIconTopRightDiagonalDoubleArrow">
   1375             @drawable/pointer_top_right_diagonal_double_arrow_icon
   1376         </item>
   1377         <item name="pointerIconTopLeftDiagonalDoubleArrow">
   1378             @drawable/pointer_top_left_diagonal_double_arrow_icon
   1379         </item>
   1380         <item name="pointerIconZoomIn">@drawable/pointer_zoom_in_icon</item>
   1381         <item name="pointerIconZoomOut">@drawable/pointer_zoom_out_icon</item>
   1382         <item name="pointerIconGrab">@drawable/pointer_grab_icon</item>
   1383         <item name="pointerIconGrabbing">@drawable/pointer_grabbing_icon</item>
   1384     </style>
   1385 
   1386     <style name="LargePointer">
   1387         <item name="pointerIconArrow">@drawable/pointer_arrow_large_icon</item>
   1388         <item name="pointerIconSpotHover">@drawable/pointer_spot_hover_icon</item>
   1389         <item name="pointerIconSpotTouch">@drawable/pointer_spot_touch_icon</item>
   1390         <item name="pointerIconSpotAnchor">@drawable/pointer_spot_anchor_icon</item>
   1391         <item name="pointerIconHand">@drawable/pointer_hand_large_icon</item>
   1392         <item name="pointerIconContextMenu">@drawable/pointer_context_menu_large_icon</item>
   1393         <item name="pointerIconHelp">@drawable/pointer_help_large_icon</item>
   1394         <!-- TODO: create large wait icon. -->
   1395         <item name="pointerIconWait">@drawable/pointer_wait_icon</item>
   1396         <item name="pointerIconCell">@drawable/pointer_cell_large_icon</item>
   1397         <item name="pointerIconCrosshair">@drawable/pointer_crosshair_large_icon</item>
   1398         <item name="pointerIconText">@drawable/pointer_text_large_icon</item>
   1399         <item name="pointerIconVerticalText">@drawable/pointer_vertical_text_large_icon</item>
   1400         <item name="pointerIconAlias">@drawable/pointer_alias_large_icon</item>
   1401         <item name="pointerIconCopy">@drawable/pointer_copy_large_icon</item>
   1402         <item name="pointerIconAllScroll">@drawable/pointer_all_scroll_large_icon</item>
   1403         <item name="pointerIconNodrop">@drawable/pointer_nodrop_large_icon</item>
   1404         <item name="pointerIconHorizontalDoubleArrow">
   1405             @drawable/pointer_horizontal_double_arrow_large_icon
   1406         </item>
   1407         <item name="pointerIconVerticalDoubleArrow">
   1408             @drawable/pointer_vertical_double_arrow_large_icon
   1409         </item>
   1410         <item name="pointerIconTopRightDiagonalDoubleArrow">
   1411             @drawable/pointer_top_right_diagonal_double_arrow_large_icon
   1412         </item>
   1413         <item name="pointerIconTopLeftDiagonalDoubleArrow">
   1414             @drawable/pointer_top_left_diagonal_double_arrow_large_icon
   1415         </item>
   1416         <item name="pointerIconZoomIn">@drawable/pointer_zoom_in_large_icon</item>
   1417         <item name="pointerIconZoomOut">@drawable/pointer_zoom_out_large_icon</item>
   1418         <item name="pointerIconGrab">@drawable/pointer_grab_large_icon</item>
   1419         <item name="pointerIconGrabbing">@drawable/pointer_grabbing_large_icon</item>
   1420     </style>
   1421 
   1422     <!-- @hide -->
   1423     <style name="aerr_list_item" parent="Widget.Material.Light.Button.Borderless">
   1424         <item name="minHeight">?attr/listPreferredItemHeightSmall</item>
   1425         <item name="textAppearance">?attr/textAppearanceListItemSmall</item>
   1426         <item name="textColor">?attr/textColorAlertDialogListItem</item>
   1427         <item name="gravity">center_vertical</item>
   1428         <item name="paddingStart">?attr/dialogPreferredPadding</item>
   1429         <item name="paddingEnd">?attr/dialogPreferredPadding</item>
   1430         <item name="background">?attr/selectableItemBackground</item>
   1431         <item name="drawablePadding">32dp</item>
   1432         <item name="drawableTint">?android:attr/colorAccent</item>
   1433         <item name="drawableTintMode">src_atop</item>
   1434     </style>
   1435 
   1436     <!-- Wifi dialog styles -->
   1437     <!-- @hide -->
   1438     <style name="wifi_item">
   1439         <item name="layout_width">200dip</item>
   1440         <item name="layout_height">wrap_content</item>
   1441         <item name="layout_marginTop">8dip</item>
   1442         <item name="layout_marginStart">16dip</item>
   1443         <item name="layout_marginEnd">16dip</item>
   1444         <item name="orientation">vertical</item>
   1445         <item name="gravity">start</item>
   1446     </style>
   1447 
   1448     <!-- @hide -->
   1449     <style name="wifi_item_label">
   1450         <item name="layout_width">wrap_content</item>
   1451         <item name="layout_height">wrap_content</item>
   1452         <item name="textSize">14sp</item>
   1453     </style>
   1454 
   1455     <!-- @hide -->
   1456     <style name="wifi_item_content">
   1457         <item name="layout_width">match_parent</item>
   1458         <item name="layout_height">wrap_content</item>
   1459         <item name="textSize">18sp</item>
   1460     </style>
   1461 
   1462     <!-- @hide -->
   1463     <style name="wifi_section">
   1464         <item name="layout_width">match_parent</item>
   1465         <item name="layout_height">wrap_content</item>
   1466         <item name="orientation">vertical</item>
   1467     </style>
   1468 
   1469     <style name="Widget.FastScroll">
   1470         <item name="thumbDrawable">?attr/fastScrollThumbDrawable</item>
   1471         <item name="trackDrawable">?attr/fastScrollTrackDrawable</item>
   1472         <item name="backgroundLeft">?attr/fastScrollPreviewBackgroundLeft</item>
   1473         <item name="backgroundRight">?attr/fastScrollPreviewBackgroundRight</item>
   1474         <item name="position">?attr/fastScrollOverlayPosition</item>
   1475         <item name="textColor">?attr/fastScrollTextColor</item>
   1476         <item name="thumbMinWidth">64dp</item>
   1477         <item name="thumbMinHeight">52dp</item>
   1478         <item name="textSize">52sp</item>
   1479         <item name="minWidth">72dp</item>
   1480         <item name="minHeight">72dp</item>
   1481         <item name="padding">16dp</item>
   1482     </style>
   1483 
   1484     <style name="Widget.LockPatternView">
   1485         <item name="regularColor">@color/lock_pattern_view_regular_color</item>
   1486         <item name="errorColor">?attr/colorError</item>
   1487         <item name="successColor">@color/lock_pattern_view_success_color</item>
   1488     </style>
   1489 
   1490     <!-- @hide -->
   1491     <style name="AutofillDatasetPicker">
   1492         <item name="elevation">4dp</item>
   1493         <item name="background">@drawable/autofill_dataset_picker_background</item>
   1494     </style>
   1495 
   1496     <!-- @hide -->
   1497     <style name="AutofillSaveAnimation">
   1498         <item name="android:windowEnterAnimation">@anim/slide_in_up</item>
   1499         <item name="android:windowExitAnimation">@anim/slide_out_down</item>
   1500     </style>
   1501 
   1502     <!-- The style for the container of media actions in a notification. -->
   1503     <!-- @hide -->
   1504     <style name="NotificationMediaActionContainer">
   1505         <item name="layout_width">wrap_content</item>
   1506         <item name="layout_height">wrap_content</item>
   1507         <item name="layout_marginTop">-21dp</item>
   1508         <item name="paddingStart">8dp</item>
   1509         <item name="paddingBottom">@dimen/media_notification_actions_padding_bottom</item>
   1510         <item name="gravity">top</item>
   1511     </style>
   1512 
   1513 </resources>
   1514