1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 <!-- Specializations for tablet screens - most colors are in values/colors.xml --> 18 <resources> 19 <!-- The headline at the top of every account settings fragments (in preferences) --> 20 <style name="accountSettingsHeadline"> 21 <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> 22 </style> 23 24 <!-- The large headline at the top of every account setup screen --> 25 <style name="accountSetupHeadline"> 26 <item name="android:textSize">30sp</item> 27 <item name="android:textColor">@color/account_setup_headline_color</item> 28 </style> 29 30 <!-- Info text in any account setup screen --> 31 <style name="accountSetupInfoText"> 32 <item name="android:textSize">18sp</item> 33 <item name="android:textColor">@color/account_setup_info_text_color</item> 34 </style> 35 36 <!-- Item labels in any account setup screen --> 37 <style name="accountSetupLabelText"> 38 <item name="android:textSize">14sp</item> 39 <item name="android:textColor">@color/account_setup_label_text_color</item> 40 </style> 41 42 <!-- Wizard buttons on the account setup screens --> 43 <style name="accountSetupButton"> 44 <item name="android:layout_width">208sp</item> 45 <item name="android:layout_height">48sp</item> 46 <item name="android:textSize">18sp</item> 47 </style> 48 49 <!-- Cancel/Done buttons on the account settings (server settings) fragments --> 50 <style name="accountSettingsButton"> 51 <item name="android:layout_width">208sp</item> 52 <item name="android:layout_height">48sp</item> 53 <item name="android:textSize">18sp</item> 54 </style> 55 56 <!-- Message view --> 57 <style name="message_view_horizontal_divider"> 58 <item name="android:layout_height">2dip</item> 59 <item name="android:background">?android:attr/dividerHorizontal</item> 60 </style> 61 62 <style name="message_compose_horizontal_divider"> 63 <item name="android:layout_height">1dip</item> 64 <item name="android:background">?android:attr/dividerHorizontal</item> 65 </style> 66 <style name="message_compose_header_field_container_no_tray" parent="PlainEditText"> 67 <item name="android:layout_width">match_parent</item> 68 <item name="android:layout_height">wrap_content</item> 69 <item name="android:layout_gravity">center_vertical</item> 70 <item name="android:orientation">horizontal</item> 71 </style> 72 <style name="message_compose_header_field_container" parent="@android:style/Widget.AutoCompleteTextView"> 73 <item name="android:layout_width">match_parent</item> 74 <item name="android:layout_height">wrap_content</item> 75 <item name="android:paddingLeft">0dip</item> 76 <item name="android:orientation">horizontal</item> 77 <item name="android:addStatesFromChildren">true</item> 78 <item name="android:focusable">false</item> 79 <item name="android:focusableInTouchMode">false</item> 80 </style> 81 <style name="message_compose_header_field_label"> 82 <item name="android:layout_width">@dimen/message_compose_field_label_width</item> 83 <item name="android:layout_height">48dip</item> 84 <item name="android:layout_weight">0</item> 85 <item name="android:gravity">center_vertical</item> 86 <item name="android:paddingTop">0dip</item> 87 <item name="android:paddingBottom">0dip</item> 88 <item name="android:paddingLeft">16dip</item> 89 <item name="android:paddingRight">16dip</item> 90 <item name="android:ellipsize">end</item> 91 <item name="android:singleLine">true</item> 92 <item name="android:textSize">18dip</item> 93 <item name="android:textColor">@color/text_secondary_color</item> 94 </style> 95 <style name="message_compose_header_field_value" parent="PlainEditText"> 96 <item name="android:layout_width">0dip</item> 97 <item name="android:layout_height">48dip</item> 98 <item name="android:layout_weight">1</item> 99 <item name="android:gravity">center_vertical</item> 100 <item name="android:paddingTop">0dip</item> 101 <item name="android:paddingBottom">0dip</item> 102 <item name="android:paddingLeft">0dip</item> 103 <item name="android:paddingRight">0dip</item> 104 <item name="android:textSize">18dip</item> 105 <item name="android:textColor">@color/text_primary_color</item> 106 <item name="android:singleLine">true</item> 107 </style> 108 109 <style name="message_view_action_buttons" parent="android:Widget.Holo.Button.Borderless"> 110 <item name="android:layout_width">56dip</item> 111 <item name="android:layout_height">56dip</item> 112 <item name="android:scaleType">center</item> 113 </style> 114 115 <style name="message_header_sender_name"> 116 <item name="android:textSize">18dip</item> 117 <item name="android:textColor">@color/text_primary_color_inverse</item> 118 <item name="android:textStyle">bold</item> 119 <item name="android:singleLine">true</item> 120 <item name="android:ellipsize">end</item> 121 </style> 122 123 <style name="message_header_sender_address"> 124 <item name="android:textSize">14dip</item> 125 <item name="android:textColor">@color/text_secondary_color_inverse</item> 126 <item name="android:singleLine">true</item> 127 <item name="android:ellipsize">end</item> 128 </style> 129 130 <style name="accountSetupTypePrevious" parent="@style/accountSetupButton"> 131 <item name="android:layout_toRightOf">@+id/main_content"</item> 132 <item name="android:layout_alignParentRight">true</item> 133 </style> 134 135 <style name="action_bar_custom_view"> 136 <item name="android:layout_width">350dip</item> 137 <item name="android:layout_height">match_parent</item> 138 </style> 139 140 <style name="action_bar_spinner_primary_text"> 141 <item name="android:includeFontPadding">false</item> 142 <item name="android:textSize">18sp</item> 143 <item name="android:textColor">@color/text_primary_color</item> 144 <item name="android:singleLine">true</item> 145 <item name="android:ellipsize">end</item> 146 </style> 147 148 <style name="action_bar_spinner_secondary_text"> 149 <item name="android:visibility">gone</item> 150 </style> 151 152 <style name="Attachment.Button" parent="@android:style/Widget.Holo.Button.Borderless"> 153 <item name="android:layout_width">0dip</item> 154 <item name="android:layout_weight">1</item> 155 <item name="android:layout_height">match_parent</item> 156 <item name="android:layout_marginLeft">16dip</item> 157 <item name="android:layout_marginRight">16dip</item> 158 <item name="android:padding">0dip</item> 159 <item name="android:textColor">@color/buttontext</item> 160 <item name="android:textSize">14dip</item> 161 <item name="android:textStyle">bold</item> 162 <item name="android:singleLine">true</item> 163 <item name="android:ellipsize">end</item> 164 <item name="android:gravity">center</item> 165 <item name="android:textAllCaps">true</item> 166 </style> 167 168 <style name="message_list_item_normal"> 169 <item name="android:paddingLeft">16dip</item> 170 <item name="android:paddingRight">32dip</item> 171 </style> 172 173 <style name="message_list_item_wide"> 174 <item name="android:paddingLeft">16dip</item> 175 <item name="android:paddingRight">16dip</item> 176 </style> 177 178 <style name="RecipientComposeHeading"> 179 <item name="android:layout_width">wrap_content</item> 180 <item name="android:layout_height">wrap_content</item> 181 <item name="android:textSize">18sp</item> 182 <item name="android:textColor">@color/compose_label_text</item> 183 <item name="android:layout_gravity">center_vertical</item> 184 </style> 185 186 <style name="ComposeFieldRelLayout" parent="android:Widget.Holo.Light.EditText"> 187 <item name="android:layout_height">wrap_content</item> 188 <item name="android:layout_width">match_parent</item> 189 <item name="android:addStatesFromChildren">true</item> 190 <item name="android:focusable">false</item> 191 <item name="android:focusableInTouchMode">false</item> 192 <item name="android:gravity">center_vertical</item> 193 </style> 194 195 <style name="RecipientComposeFieldLayout" parent="@style/ComposeFieldRelLayout"> 196 </style> 197 198 <style name="EmailRecipientEditTextView" parent="@style/RecipientEditTextView"> 199 <item name="android:minHeight">0dip</item> 200 <item name="android:gravity">center_vertical</item> 201 </style> 202 203 <style name="EmailComposeEditTextView"> 204 <item name="android:minHeight">0dip</item> 205 <item name="android:layout_gravity">center_vertical</item> 206 <item name="android:layout_height">wrap_content</item> 207 <item name="android:layout_width">match_parent</item> 208 <item name="android:background">@null</item> 209 </style> 210 211 </resources> 212