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="subject_action_bar_title_text" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 142 <item name="android:textColor">#323232</item> 143 <item name="android:textSize">16dp</item> 144 </style> 145 146 <style name="message_view_text"> 147 <item name="android:textSize">14dip</item> 148 <item name="android:textColor">@color/text_secondary_color</item> 149 </style> 150 151 <style name="message_view_horizontal_divider"> 152 <item name="android:layout_height">1dip</item> 153 <item name="android:background">?android:attr/dividerHorizontal</item> 154 </style> 155 156 <style name="message_view_tab" parent="@android:style/Widget.Holo.Light.Tab"> 157 <item name="android:layout_height">32dip</item> 158 <item name="android:gravity">center</item> 159 <item name="android:textSize">14dip</item> 160 <item name="android:textColor">@color/text_secondary_color</item> 161 </style> 162 163 <style name="action_bar_account_name"> 164 <item name="android:textSize">18dip</item> 165 <item name="android:textColor">@color/text_primary_color</item> 166 <item name="android:singleLine">true</item> 167 <item name="android:ellipsize">end</item> 168 </style> 169 170 <style name="action_bar_account_name_secondary"> 171 <item name="android:textSize">14dip</item> 172 <item name="android:textColor">@color/text_ternary_color</item> 173 <item name="android:singleLine">true</item> 174 <item name="android:ellipsize">end</item> 175 </style> 176 177 <style name="action_bar_spinner_primary_text"> 178 <item name="android:textSize">16sp</item> 179 <item name="android:textColor">@color/text_primary_color</item> 180 <item name="android:singleLine">true</item> 181 <item name="android:ellipsize">end</item> 182 </style> 183 184 <style name="action_bar_spinner_secondary_text"> 185 <item name="android:textSize">14sp</item> 186 <item name="android:textColor">@color/text_secondary_color</item> 187 <item name="android:singleLine">true</item> 188 <item name="android:ellipsize">end</item> 189 <item name="android:layout_marginTop">-4dip</item> 190 </style> 191 192 <style name="search_header"> 193 <item name="android:layout_height">36dip</item> 194 <item name="android:layout_width">match_parent</item> 195 <item name="android:paddingLeft">6dip</item> 196 <item name="android:paddingRight">6dip</item> 197 </style> 198 199 <style name="message_list_item_normal"> 200 <!-- no styles on phones --> 201 </style> 202 <style name="message_list_item_wide"> 203 <!-- no styles on phones --> 204 </style> 205 206 <style name="message_view_action_buttons" parent="android:Widget.Holo.Button.Borderless"> 207 <item name="android:layout_width">48dip</item> 208 <item name="android:layout_height">48dip</item> 209 <item name="android:scaleType">center</item> 210 </style> 211 212 <style name="message_header_sender_name"> 213 <item name="android:textSize">16dip</item> 214 <item name="android:textStyle">bold</item> 215 <item name="android:textColor">@color/text_primary_color_inverse</item> 216 <item name="android:singleLine">true</item> 217 <item name="android:ellipsize">end</item> 218 </style> 219 220 <style name="message_header_sender_address"> 221 <item name="android:textSize">14dip</item> 222 <item name="android:textColor">@color/text_secondary_color_inverse</item> 223 <item name="android:singleLine">true</item> 224 <item name="android:ellipsize">end</item> 225 </style> 226 227 <style name="QuotedTextHeaderStyle"> 228 <item name="android:textColor">#777777</item> 229 <item name="android:textSize">12sp</item> 230 </style> 231 </resources> 232 233