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 <resources> 17 <style name="DialtactsTheme" 18 parent="android:Theme.Holo"> 19 <item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item> 20 <item name="android:windowActionBarOverlay">true</item> 21 <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item> 22 <item name="android:windowContentOverlay">@null</item> 23 <item name="android:windowBackground">@drawable/background_dial_holo_dark</item> 24 <item name="activated_background">@drawable/list_item_activated_background</item> 25 <item name="section_header_background">@drawable/list_title_holo</item> 26 <item name="list_section_header_height">32dip</item> 27 <item name="list_item_divider">?android:attr/listDivider</item> 28 <item name="list_item_padding_top">0dip</item> 29 <item name="list_item_padding_right">0dip</item> 30 <item name="list_item_padding_bottom">0dip</item> 31 <item name="list_item_padding_left">0dip</item> 32 <item name="list_item_gap_between_image_and_text">8dip</item> 33 <item name="list_item_gap_between_label_and_data">5dip</item> 34 <item name="list_item_call_button_padding">14dip</item> 35 <item name="list_item_vertical_divider_margin">5dip</item> 36 <item name="list_item_presence_icon_margin">4dip</item> 37 <item name="list_item_presence_icon_size">16dip</item> 38 <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> 39 <item name="list_item_profile_photo_size">70dip</item> 40 <item name="list_item_prefix_highlight_color">#729a27</item> 41 <item name="list_item_header_text_indent">8dip</item> 42 <item name="list_item_header_text_color">@color/people_app_theme_color</item> 43 <item name="list_item_header_text_size">14sp</item> 44 <item name="list_item_header_height">24dip</item> 45 <item name="list_item_header_underline_height">1dip</item> 46 <item name="list_item_header_underline_color">@color/people_app_theme_color</item> 47 <item name="contact_browser_list_padding_left">16dip</item> 48 <item name="contact_browser_list_padding_right">0dip</item> 49 <item name="contact_browser_background">@android:color/transparent</item> 50 <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> 51 <!-- CallLog --> 52 <item name="call_log_primary_text_color">#FFFFFF</item> 53 <item name="call_log_primary_background_color">#000000</item> 54 <item name="call_log_secondary_text_color">#888888</item> 55 <item name="call_log_secondary_background_color">#333333</item> 56 <item name="call_log_header_color">#33b5e5</item> 57 <!-- VoicemailStatus --> 58 <item name="call_log_voicemail_status_height">48dip</item> 59 <item name="call_log_voicemail_status_background_color">#262626</item> 60 <item name="call_log_voicemail_status_text_color">#888888</item> 61 <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> 62 <!-- Favorites --> 63 <item name="favorites_padding_bottom">?android:attr/actionBarSize</item> 64 </style> 65 66 <style name="CallDetailActivityTheme" parent="android:Theme.Holo"> 67 <item name="android:windowBackground">@android:color/black</item> 68 <item name="android:gravity">top</item> 69 <!-- CallLog --> 70 <item name="call_log_primary_text_color">#FFFFFF</item> 71 <item name="call_log_primary_background_color">#000000</item> 72 <item name="call_log_secondary_text_color">#FFFFFF</item> 73 <item name="call_log_secondary_background_color">#333333</item> 74 <item name="call_log_header_color">#33b5e5</item> 75 <!-- VoicemailStatus --> 76 <item name="call_log_voicemail_status_height">48dip</item> 77 <item name="call_log_voicemail_status_background_color">#262626</item> 78 <item name="call_log_voicemail_status_text_color">#888888</item> 79 <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> 80 </style> 81 82 <style name="DetailActivityTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar"> 83 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 84 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 85 <item name="android:textColorPrimary">@color/primary_text_color</item> 86 <item name="android:textColorSecondary">@color/secondary_text_color</item> 87 </style> 88 89 <style name="EditorActivityTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar"> 90 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 91 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 92 <item name="android:windowContentOverlay">@null</item> 93 <item name="android:textColorPrimary">@color/primary_text_color</item> 94 <item name="android:textColorSecondary">@color/secondary_text_color</item> 95 </style> 96 97 <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light"> 98 <item name="android:windowBackground">@null</item> 99 <item name="android:windowContentOverlay">@null</item> 100 <item name="android:windowAnimationStyle">@null</item> 101 <item name="android:windowNoTitle">true</item> 102 <item name="android:windowNoDisplay">true</item> 103 <item name="android:windowIsFloating">true</item> 104 </style> 105 106 <style name="Theme"> 107 </style> 108 109 <style name="Theme.QuickContact" parent="@android:style/Theme.Holo.Light"> 110 <item name="android:windowBackground">@android:color/transparent</item> 111 <item name="android:colorBackgroundCacheHint">@null</item> 112 <item name="android:windowFrame">@null</item> 113 <item name="android:windowContentOverlay">@null</item> 114 <item name="android:windowAnimationStyle">@null</item> 115 <item name="android:windowIsFloating">false</item> 116 <item name="android:backgroundDimEnabled">true</item> 117 <item name="android:windowIsTranslucent">true</item> 118 <item name="android:windowNoTitle">true</item> 119 </style> 120 121 <style name="PeopleTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar"> 122 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 123 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 124 <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> 125 <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item> 126 <item name="android:textColorPrimary">@color/primary_text_color</item> 127 <item name="android:textColorSecondary">@color/secondary_text_color</item> 128 <item name="list_item_height">?android:attr/listPreferredItemHeight</item> 129 <item name="activated_background">@drawable/list_item_activated_background</item> 130 <item name="section_header_background">@drawable/list_title_holo</item> 131 <item name="list_section_header_height">24dip</item> 132 <item name="list_item_divider">?android:attr/listDivider</item> 133 <item name="list_item_padding_top">0dip</item> 134 <item name="list_item_padding_right">0dip</item> 135 <item name="list_item_padding_bottom">0dip</item> 136 <item name="list_item_padding_left">0dip</item> 137 <item name="list_item_gap_between_image_and_text">8dip</item> 138 <item name="list_item_gap_between_label_and_data">5dip</item> 139 <item name="list_item_call_button_padding">14dip</item> 140 <item name="list_item_vertical_divider_margin">5dip</item> 141 <item name="list_item_presence_icon_margin">4dip</item> 142 <item name="list_item_presence_icon_size">16dip</item> 143 <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> 144 <item name="list_item_profile_photo_size">70dip</item> 145 <item name="list_item_prefix_highlight_color">#99cc00</item> 146 <item name="list_item_header_text_color">@color/people_app_theme_color</item> 147 <item name="list_item_header_text_size">14sp</item> 148 <item name="list_item_header_height">26dip</item> 149 <item name="list_item_header_underline_height">1dip</item> 150 <item name="list_item_header_underline_color">@color/people_app_theme_color</item> 151 <item name="list_item_contacts_count_text_color">@color/contact_count_text_color</item> 152 <item name="list_item_header_text_indent">8dip</item> 153 <item name="contact_browser_list_padding_left">16dip</item> 154 <item name="contact_browser_list_padding_right">0dip</item> 155 <item name="contact_browser_background">@android:color/transparent</item> 156 <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> 157 <item name="list_item_contacts_count_text_size">12sp</item> 158 <!-- Favorites --> 159 <item name="favorites_padding_bottom">0dip</item> 160 </style> 161 162 <style name="ContactsActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"> 163 <item name="android:background">@drawable/ab_solid_custom_blue_inverse_holo</item> 164 <item name="android:backgroundStacked">@drawable/ab_solid_custom_blue_inverse_holo</item> 165 <item name="android:displayOptions"></item> 166 </style> 167 168 <style name="ContactsActionBarTheme" parent="@android:style/Theme.Holo"> 169 <item name="android:textColorHint">#CCCCCC</item> 170 </style> 171 172 <style name="ContactsActionBarTabView" parent="@android:style/Widget.Holo.ActionBar.TabView"> 173 <item name="android:background">@drawable/action_bar_tab</item> 174 </style> 175 176 <style name="ContactPickerTheme" parent="@style/PeopleTheme"> 177 <item name="android:windowActionBar">false</item> 178 <item name="android:windowNoTitle">true</item> 179 </style> 180 <style name="ContactPickerLayout" parent="ContactPickerTheme"> 181 <item name="android:layout_width">match_parent</item> 182 <item name="android:layout_height">match_parent</item> 183 </style> 184 185 <style name="JoinContactActivityTheme" parent="ContactPickerTheme" > 186 </style> 187 188 <style name="ContactsPreferencesTheme" parent="@android:Theme.Holo.Light"> 189 </style> 190 191 <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light"> 192 </style> 193 194 <style name="CustomContactListFilterView" parent="ContactListFilterTheme"> 195 <item name="android:layout_width">match_parent</item> 196 <item name="android:layout_height">match_parent</item> 197 </style> 198 199 <style name="DirectoryHeader" parent="PeopleTheme"> 200 <item name="android:background">@android:color/transparent</item> 201 </style> 202 203 <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar"> 204 </style> 205 206 <style name="NonPhoneDialogTheme" parent="@android:Theme.Holo.Light.Dialog"> 207 </style> 208 209 <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.Holo.Light.Dialog.MinWidth"> 210 <item name="android:windowCloseOnTouchOutside">true</item> 211 </style> 212 213 <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.Holo.Light.Dialog.NoActionBar.MinWidth"> 214 <item name="android:windowCloseOnTouchOutside">true</item> 215 <item name="android:textColorPrimary">@color/primary_text_color</item> 216 <item name="android:textColorSecondary">@color/secondary_text_color</item> 217 </style> 218 219 <style name="SectionDivider"> 220 <item name="android:background">#7e7e87</item> 221 <item name="android:layout_height">1dip</item> 222 <item name="android:layout_width">match_parent</item> 223 </style> 224 225 <style name="ContactDetailItemType"> 226 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 227 <item name="android:textColor">?android:attr/textColorSecondary</item> 228 <item name="android:singleLine">true</item> 229 <item name="android:ellipsize">marquee</item> 230 <item name="android:layout_gravity">center_vertical</item> 231 </style> 232 233 <style name="DialtactsDigitsTextAppearance"> 234 <item name="android:maxLines">1</item> 235 <item name="android:scrollHorizontally">true</item> 236 <item name="android:textSize">@dimen/dialpad_digits_text_size</item> 237 <item name="android:freezesText">true</item> 238 <item name="android:focusableInTouchMode">true</item> 239 <item name="android:editable">true</item> 240 <item name="android:cursorVisible">false</item> 241 <item name="android:layout_weight">0</item> 242 </style> 243 244 <style name="DialtactsDialpadButtonStyle"> 245 <item name="android:layout_width">0dip</item> 246 <item name="android:layout_height">match_parent</item> 247 <item name="android:layout_weight">1</item> 248 <item name="android:background">?android:attr/selectableItemBackground</item> 249 <item name="android:soundEffectsEnabled">false</item> 250 </style> 251 252 <style name="ConfirmAddDetailViewStyle"> 253 <item name="android:layout_width">match_parent</item> 254 <item name="android:layout_height">wrap_content</item> 255 </style> 256 257 <style name="ConfirmAddDetailHeaderViewStyle"> 258 <item name="android:layout_width">match_parent</item> 259 <item name="android:layout_height">150dip</item> 260 </style> 261 262 <style name="DialtactsActionBarStyle" parent="android:Widget.Holo.ActionBar"> 263 <item name="android:backgroundSplit">@drawable/ab_bottom_opaque_dark_holo</item> 264 <item name="android:backgroundStacked">@drawable/ab_stacked_opaque_dark_holo</item> 265 <item name="android:displayOptions"></item> 266 </style> 267 268 <style name="QuickContactListItemStyle"> 269 <item name="android:layout_width">match_parent</item> 270 <item name="android:layout_height">wrap_content</item> 271 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 272 <item name="android:orientation">horizontal</item> 273 <item name="android:gravity">center_vertical</item> 274 <item name="android:background">?android:attr/selectableItemBackground</item> 275 </style> 276 277 <style name="QuickContactListItemTextWrapperStyle"> 278 <item name="android:layout_width">0dip</item> 279 <item name="android:layout_height">wrap_content</item> 280 <item name="android:layout_weight">1</item> 281 <item name="android:paddingLeft">16dip</item> 282 <item name="android:paddingRight">16dip</item> 283 <item name="android:gravity">center_vertical</item> 284 <item name="android:orientation">vertical</item> 285 </style> 286 287 <style name="QuickContactListBottomStyle"> 288 <item name="android:layout_width">match_parent</item> 289 <item name="android:layout_height">2dip</item> 290 <item name="android:background">@color/quickcontact_tab_indicator</item> 291 </style> 292 </resources> 293