Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 <!-- non-xlarge.  See also values-xlarge for specializations for xlarge screens -->
     18 <resources>
     19     <style name="EmailTheme" parent="@android:style/Theme.Holo.Light">
     20     </style>
     21 
     22     <style name="ThemeNoTitleBar" parent="android:Theme.NoTitleBar">
     23         <item name="android:windowContentOverlay">@null</item>
     24     </style>
     25 
     26     <!-- The headline at the top of every account settings fragments (in preferences) -->
     27     <!-- TODO these are estimates for the phone UX - final sizes TBD -->
     28     <style name="accountSettingsHeadline">
     29         <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
     30     </style>
     31 
     32     <!-- The large headline at the top of every account setup screen -->
     33     <!-- TODO these are estimates for the phone UX - final sizes TBD -->
     34     <style name="accountSetupHeadline">
     35         <item name="android:textSize">22sp</item>
     36         <item name="android:textColor">@color/account_setup_headline_color</item>
     37     </style>
     38 
     39     <!-- Wizard buttons on the account setup screens -->
     40     <!-- TODO these are estimates for the phone UX - final sizes TBD -->
     41     <style name="accountSetupButton">
     42         <item name="android:layout_width">160sp</item>
     43         <item name="android:layout_height">40sp</item>
     44         <item name="android:textColor">?android:attr/textColorPrimary</item>
     45         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     46     </style>
     47 
     48     <!-- Cancel/Done buttons on the account settings (server settings) fragments -->
     49     <style name="accountSettingsButton">
     50         <item name="android:layout_width">160sp</item>
     51         <item name="android:layout_height">40sp</item>
     52         <item name="android:textColor">?android:attr/textColorPrimary</item>
     53         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     54     </style>
     55 
     56     <!-- EditText style without the "tray" -->
     57     <style name="PlainEditText" parent="android:Widget.Holo.Light.EditText">
     58         <item name="android:background">@null</item>
     59     </style>
     60 
     61     <style name="notification_secondary_text">
     62         <item name="android:textColor">?android:attr/textColorSecondary</item>
     63     </style>
     64 
     65     <style name="widget_list_item">
     66         <item name="android:textColor">?android:attr/textColorSecondary</item>
     67         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     68     </style>
     69 
     70     <style name="message_details_value">
     71         <item name="android:textSize">14dip</item>
     72         <item name="android:textColor">@color/text_secondary_color</item>
     73         <item name="android:singleLine">false</item>
     74         <item name="android:lineSpacingMultiplier">1.5</item>
     75     </style>
     76 
     77     <style name="message_details_value_selectable" parent="message_details_value">
     78         <item name="android:textIsSelectable">true</item>
     79     </style>
     80 
     81     <style name="message_details_label" parent="message_details_value">
     82         <item name="android:textStyle">bold</item>
     83         <item name="android:singleLine">true</item>
     84         <item name="android:layout_marginRight">8dp</item>
     85         <item name="android:layout_marginLeft">8dp</item>
     86     </style>
     87 
     88     <style name="message_view_subject">
     89         <item name="android:textSize">18dip</item>
     90         <item name="android:textColor">@color/text_primary_color</item>
     91         <item name="android:textStyle">bold</item>
     92         <item name="android:enabled">false</item>
     93         <item name="android:ellipsize">end</item>
     94     </style>
     95 
     96     <style name="Attachment" />
     97 
     98     <style name="Attachment.Button" parent="@android:style/Widget.Holo.Button.Borderless">
     99         <item name="android:minHeight">0dip</item>
    100         <item name="android:layout_height">wrap_content</item>
    101         <item name="android:layout_width">0dip</item>
    102         <item name="android:layout_weight">1</item>
    103         <item name="android:layout_gravity">center_vertical</item>
    104         <item name="android:paddingTop">8dip</item>
    105         <item name="android:paddingBottom">8dip</item>
    106         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    107         <item name="android:textStyle">bold</item>
    108         <item name="android:textColor">@color/buttontext</item>
    109         <item name="android:singleLine">true</item>
    110         <item name="android:textAllCaps">true</item>
    111     </style>
    112 
    113     <style name="attachment_container">
    114         <item name="android:background">@drawable/attachment_background</item>
    115         <item name="android:layout_width">match_parent</item>
    116         <item name="android:layout_height">wrap_content</item>
    117         <item name="android:orientation">horizontal</item>
    118     </style>
    119 
    120     <style name="attachment_name">
    121         <item name="android:id">@id/attachment_name</item>
    122         <item name="android:paddingLeft">5dip</item>
    123         <item name="android:maxLines">1</item>
    124         <item name="android:layout_width">wrap_content</item>
    125         <item name="android:layout_height">wrap_content</item>
    126         <item name="android:textColor">@color/text_primary_color</item>
    127     </style>
    128 
    129     <style name="attachment_thumbnail">
    130         <item name="android:layout_gravity">center_vertical</item>
    131         <item name="android:paddingLeft">5dip</item>
    132         <item name="android:layout_width">32dip</item>
    133         <item name="android:layout_height">32dip</item>
    134     </style>
    135 
    136     <style name="action_bar_custom_view">
    137         <item name="android:layout_width">match_parent</item>
    138         <item name="android:layout_height">match_parent</item>
    139     </style>
    140 
    141     <style name="message_view_text">
    142         <item name="android:textSize">14dip</item>
    143         <item name="android:textColor">@color/text_secondary_color</item>
    144     </style>
    145 
    146     <style name="message_view_horizontal_divider">
    147         <item name="android:layout_height">1dip</item>
    148         <item name="android:background">?android:attr/dividerHorizontal</item>
    149     </style>
    150 
    151     <style name="message_view_tab" parent="@android:style/Widget.Holo.Light.Tab">
    152         <item name="android:layout_height">32dip</item>
    153         <item name="android:gravity">center</item>
    154         <item name="android:textSize">14dip</item>
    155         <item name="android:textColor">@color/text_secondary_color</item>
    156     </style>
    157 
    158     <style name="action_bar_account_name">
    159         <item name="android:textSize">18dip</item>
    160         <item name="android:textColor">@color/text_primary_color</item>
    161         <item name="android:singleLine">true</item>
    162         <item name="android:ellipsize">end</item>
    163     </style>
    164 
    165     <style name="action_bar_account_name_secondary">
    166         <item name="android:textSize">14dip</item>
    167         <item name="android:textColor">@color/text_ternary_color</item>
    168         <item name="android:singleLine">true</item>
    169         <item name="android:ellipsize">end</item>
    170     </style>
    171 
    172     <style name="action_bar_spinner_primary_text">
    173         <item name="android:textSize">16sp</item>
    174         <item name="android:textColor">@color/text_primary_color</item>
    175         <item name="android:singleLine">true</item>
    176         <item name="android:ellipsize">end</item>
    177     </style>
    178 
    179     <style name="action_bar_spinner_secondary_text">
    180         <item name="android:textSize">14sp</item>
    181         <item name="android:textColor">@color/text_secondary_color</item>
    182         <item name="android:singleLine">true</item>
    183         <item name="android:ellipsize">end</item>
    184         <item name="android:layout_marginTop">-4dip</item>
    185     </style>
    186 
    187     <style name="search_header">
    188         <item name="android:layout_height">36dip</item>
    189         <item name="android:layout_width">match_parent</item>
    190         <item name="android:paddingLeft">6dip</item>
    191         <item name="android:paddingRight">6dip</item>
    192     </style>
    193 
    194     <style name="message_list_item_normal">
    195         <!-- no styles on phones -->
    196     </style>
    197     <style name="message_list_item_wide">
    198         <!-- no styles on phones -->
    199     </style>
    200 
    201     <style name="message_view_action_buttons" parent="android:Widget.Holo.Button.Borderless">
    202         <item name="android:layout_width">48dip</item>
    203         <item name="android:layout_height">48dip</item>
    204         <item name="android:scaleType">center</item>
    205     </style>
    206 
    207     <style name="message_header_sender_name">
    208         <item name="android:textSize">16dip</item>
    209         <item name="android:textStyle">bold</item>
    210         <item name="android:textColor">@color/text_primary_color_inverse</item>
    211         <item name="android:singleLine">true</item>
    212         <item name="android:ellipsize">end</item>
    213     </style>
    214 
    215     <style name="message_header_sender_address">
    216         <item name="android:textSize">14dip</item>
    217         <item name="android:textColor">@color/text_secondary_color_inverse</item>
    218         <item name="android:singleLine">true</item>
    219         <item name="android:ellipsize">end</item>
    220     </style>
    221 
    222     <style name="QuotedTextHeaderStyle">
    223         <item name="android:textColor">#777777</item>
    224         <item name="android:textSize">12sp</item>
    225     </style>
    226 </resources>
    227 
    228