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 18 <style name="DetailActivityTheme" parent="@android:style/Theme.Holo.Light"> 19 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 20 <item name="android:homeAsUpIndicator">@drawable/ic_menu_back</item> 21 <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflow</item> 22 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 23 <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> 24 <item name="android:textColorPrimary">@color/primary_text_color</item> 25 <item name="android:textColorSecondary">@color/secondary_text_color</item> 26 <item name="android:listViewStyle">@style/ListViewStyle</item> 27 </style> 28 29 <style name="EditorActivityTheme" parent="@android:style/Theme.Holo.Light"> 30 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 31 <item name="android:homeAsUpIndicator">@drawable/ic_menu_back</item> 32 <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflow</item> 33 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 34 <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> 35 <item name="android:windowContentOverlay">@null</item> 36 <item name="android:textColorPrimary">@color/primary_text_color</item> 37 <item name="android:textColorSecondary">@color/secondary_text_color</item> 38 <item name="android:listViewStyle">@style/ListViewStyle</item> 39 </style> 40 41 <style name="Theme"> 42 </style> 43 44 <style name="Theme.QuickContact" parent="@android:style/Theme.Holo.Light"> 45 <item name="android:windowBackground">@android:color/transparent</item> 46 <item name="android:colorBackgroundCacheHint">@null</item> 47 <item name="android:windowFrame">@null</item> 48 <item name="android:windowContentOverlay">@null</item> 49 <item name="android:windowAnimationStyle">@null</item> 50 <item name="android:windowIsFloating">false</item> 51 <item name="android:windowIsTranslucent">true</item> 52 <item name="android:windowNoTitle">true</item> 53 <item name="android:listViewStyle">@style/ListViewStyle</item> 54 </style> 55 56 <style name="PeopleTheme" parent="@android:style/Theme.Holo.Light"> 57 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 58 <item name="android:homeAsUpIndicator">@drawable/ic_menu_back</item> 59 <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflow</item> 60 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 61 <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> 62 <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item> 63 <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item> 64 <item name="android:textColorPrimary">@color/primary_text_color</item> 65 <item name="android:textColorSecondary">@color/secondary_text_color</item> 66 <item name="android:listViewStyle">@style/ListViewStyle</item> 67 <item name="list_item_height">?android:attr/listPreferredItemHeight</item> 68 <item name="activated_background">@drawable/list_item_activated_background</item> 69 <item name="section_header_background">@drawable/list_title_holo</item> 70 <item name="list_section_header_height">24dip</item> 71 <item name="list_item_divider">?android:attr/listDivider</item> 72 <item name="list_item_padding_top">8dip</item> 73 <item name="list_item_padding_right">0dip</item> 74 <item name="list_item_padding_bottom">8dip</item> 75 <item name="list_item_padding_left">0dip</item> 76 <item name="list_item_gap_between_image_and_text">8dip</item> 77 <item name="list_item_gap_between_label_and_data">5dip</item> 78 <item name="list_item_presence_icon_margin">4dip</item> 79 <item name="list_item_presence_icon_size">16dip</item> 80 <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> 81 <item name="list_item_profile_photo_size">70dip</item> 82 <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> 83 <item name="list_item_header_text_color">@color/people_app_theme_color</item> 84 <item name="list_item_header_text_size">14sp</item> 85 <item name="list_item_header_height">30dip</item> 86 <item name="list_item_header_underline_height">1dip</item> 87 <item name="list_item_header_underline_color">@color/secondary_header_separator_color</item> 88 <item name="list_item_data_width_weight">5</item> 89 <item name="list_item_label_width_weight">3</item> 90 <item name="list_item_contacts_count_text_color">@color/people_app_theme_color</item> 91 <item name="list_item_header_text_indent">8dip</item> 92 <item name="contact_browser_list_padding_left">16dip</item> 93 <item name="contact_browser_list_padding_right">0dip</item> 94 <item name="contact_browser_background">@android:color/transparent</item> 95 <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> 96 <item name="list_item_contacts_count_text_size">12sp</item> 97 <!-- Favorites --> 98 <item name="favorites_padding_bottom">0dip</item> 99 </style> 100 101 <style name="ContactsActionBarOverflow" parent="@android:style/Widget.Holo.ActionButton.Overflow"> 102 <item name="android:src">@drawable/ic_overflow_menu</item> 103 </style> 104 105 <style name="ContactsActionBarStyle" parent="@android:Widget.Holo.Light.ActionBar"> 106 <item name="android:background">@drawable/action_bar_tab</item> 107 <item name="android:backgroundSplit">@drawable/action_bar_tab</item> 108 <item name="android:backgroundStacked">@drawable/action_bar_tab</item> 109 <item name="android:displayOptions"></item> 110 </style> 111 112 <style name="ContactsActionBarDropDownStyle" parent="@android:style/Widget.Holo.Light.Spinner"> 113 <item name="android:background">@drawable/ab_dropdown_navigation_item_background</item> 114 </style> 115 116 <style name="ContactsActionBarTheme" parent="@android:style/Theme.Holo.Light"> 117 <item name="android:textColorHint">#CCCCCC</item> 118 <item name="android:textColor">@android:color/black</item> 119 <item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item> 120 <item name="android:dropDownListViewStyle">@style/ListViewDropdownStyle</item> 121 </style> 122 123 <style name="ContactsActionBarTabView" parent="@android:style/Widget.Holo.ActionBar.TabView"> 124 <item name="android:background">@drawable/action_bar_tab</item> 125 </style> 126 127 <style name="ListViewDropdownStyle" parent="@android:style/Widget.ListView.DropDown"> 128 <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> 129 </style> 130 131 <style name="ContactPickerTheme" parent="@style/PeopleTheme" /> 132 133 <style name="ContactPickerLayout" parent="ContactPickerTheme"> 134 <item name="android:layout_width">match_parent</item> 135 <item name="android:layout_height">match_parent</item> 136 </style> 137 138 <style name="JoinContactActivityTheme" parent="ContactPickerTheme" > 139 </style> 140 141 <style name="ContactsPreferencesTheme" parent="@android:Theme.Holo.Light"> 142 <item name="android:listViewStyle">@style/ListViewStyle</item> 143 </style> 144 145 <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light"> 146 <item name="android:listViewStyle">@style/ListViewStyle</item> 147 </style> 148 149 <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar"> 150 </style> 151 152 <style name="NonPhoneDialogTheme" parent="@android:Theme.Holo.Light.Dialog"> 153 </style> 154 155 <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.Holo.Light.Dialog.MinWidth"> 156 <item name="android:windowCloseOnTouchOutside">true</item> 157 </style> 158 159 <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.Holo.Light.Dialog.NoActionBar.MinWidth"> 160 <item name="android:windowCloseOnTouchOutside">true</item> 161 <item name="android:textColorPrimary">@color/primary_text_color</item> 162 <item name="android:textColorSecondary">@color/secondary_text_color</item> 163 <item name="android:listViewStyle">@style/ListViewStyle</item> 164 </style> 165 166 <style name="SectionDivider"> 167 <item name="android:background">#7e7e87</item> 168 <item name="android:layout_height">1dip</item> 169 <item name="android:layout_width">match_parent</item> 170 </style> 171 172 <style name="ContactDetailItemType"> 173 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 174 <item name="android:textColor">?android:attr/textColorSecondary</item> 175 <item name="android:singleLine">true</item> 176 <item name="android:ellipsize">marquee</item> 177 <item name="android:layout_gravity">center_vertical</item> 178 </style> 179 180 <style name="ConfirmAddDetailViewStyle"> 181 <item name="android:layout_width">match_parent</item> 182 <item name="android:layout_height">wrap_content</item> 183 </style> 184 185 <style name="ConfirmAddDetailHeaderViewStyle"> 186 <item name="android:layout_width">match_parent</item> 187 <item name="android:layout_height">150dip</item> 188 </style> 189 190 <style name="QuickContactListItemStyle"> 191 <item name="android:layout_width">match_parent</item> 192 <item name="android:layout_height">wrap_content</item> 193 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 194 <item name="android:orientation">horizontal</item> 195 <item name="android:gravity">center_vertical</item> 196 <item name="android:background">?android:attr/selectableItemBackground</item> 197 </style> 198 199 <style name="QuickContactListItemTextWrapperStyle"> 200 <item name="android:layout_width">0dip</item> 201 <item name="android:layout_height">wrap_content</item> 202 <item name="android:layout_weight">1</item> 203 <item name="android:paddingLeft">16dip</item> 204 <item name="android:paddingRight">16dip</item> 205 <item name="android:paddingStart">16dip</item> 206 <item name="android:paddingEnd">16dip</item> 207 <item name="android:gravity">center_vertical</item> 208 <item name="android:orientation">vertical</item> 209 </style> 210 211 <style name="QuickContactListBottomStyle"> 212 <item name="android:layout_width">match_parent</item> 213 <item name="android:layout_height">2dip</item> 214 <item name="android:background">@color/quickcontact_tab_indicator</item> 215 </style> 216 217 <style name="Theme.PhotoSelector" parent="@android:style/Theme.Holo.Light"> 218 <item name="android:windowBackground">@android:color/transparent</item> 219 <item name="android:windowFrame">@null</item> 220 <item name="android:windowContentOverlay">@null</item> 221 <item name="android:windowAnimationStyle">@null</item> 222 <item name="android:backgroundDimEnabled">false</item> 223 <item name="android:windowIsTranslucent">true</item> 224 <item name="android:windowNoTitle">true</item> 225 </style> 226 227 <style name="GroupMembershipSizeTextAppearance" parent="@android:style/TextAppearance.Small"/> 228 229 <style name="PeopleNavigationDropDownTextAppearance"> 230 <item name="android:textColor">@color/primary_text_color</item> 231 <item name="android:textSize">18sp</item> 232 </style> 233 234 <style name="PeopleNavigationDropDownHeaderTextAppearance"> 235 <item name="android:textColor">@color/primary_text_color</item> 236 <item name="android:textSize">18sp</item> 237 </style> 238 239 </resources> 240