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="PeopleTheme" parent="@android:style/Theme.Holo.Light"> 18 <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> 19 <item name="android:homeAsUpIndicator">@drawable/ic_menu_back</item> 20 <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflow</item> 21 <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> 22 <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> 23 <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item> 24 <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item> 25 <item name="android:textColorPrimary">@color/primary_text_color</item> 26 <item name="android:textColorSecondary">@color/secondary_text_color</item> 27 <item name="android:listViewStyle">@style/ListViewStyle</item> 28 <item name="list_item_height">?android:attr/listPreferredItemHeight</item> 29 <item name="activated_background">@drawable/list_item_activated_background</item> 30 <item name="section_header_background">@drawable/list_title_holo</item> 31 <item name="list_item_divider">?android:attr/listDivider</item> 32 <item name="list_item_padding_top">8dip</item> 33 <item name="list_item_padding_right">12dip</item> 34 <item name="list_item_padding_bottom">8dip</item> 35 <item name="list_item_padding_left">0dip</item> 36 <item name="list_item_gap_between_image_and_text">8dip</item> 37 <item name="list_item_gap_between_label_and_data">5dip</item> 38 <item name="list_item_presence_icon_margin">4dip</item> 39 <item name="list_item_presence_icon_size">16dip</item> 40 <item name="list_item_photo_size">64dip</item> 41 <item name="list_item_profile_photo_size">80dip</item> 42 <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> 43 <item name="list_item_header_text_indent">8dip</item> 44 <item name="list_item_header_text_size">14sp</item> 45 <item name="list_item_header_text_color">@color/people_app_theme_color</item> 46 <item name="list_item_header_height">30dip</item> 47 <item name="list_item_header_underline_height">1dip</item> 48 <item name="list_item_header_underline_color">@color/secondary_header_separator_color</item> 49 <item name="list_item_data_width_weight">5</item> 50 <item name="list_item_label_width_weight">3</item> 51 <item name="list_item_contacts_count_text_color">@color/people_app_theme_color</item> 52 <item name="list_item_contacts_count_text_size">12sp</item> 53 <item name="contact_browser_list_padding_left">0dip</item> 54 <item name="contact_browser_list_padding_right">0dip</item> 55 <item name="contact_browser_background">@android:color/transparent</item> 56 <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> 57 <!-- Favorites --> 58 <item name="favorites_padding_bottom">0dip</item> 59 </style> 60 61 <style name="ContactPickerTheme" parent="@android:Theme.Holo.Light.Dialog"> 62 <item name="android:windowSoftInputMode">adjustResize</item> 63 <item name="android:listViewStyle">@style/ListViewStyle</item> 64 <item name="list_item_height">?android:attr/listPreferredItemHeight</item> 65 <item name="section_header_background">@drawable/list_title_holo</item> 66 <item name="list_item_divider">?android:attr/listDivider</item> 67 <item name="list_item_padding_top">8dip</item> 68 <item name="list_item_padding_right">0dip</item> 69 <item name="list_item_padding_bottom">8dip</item> 70 <item name="list_item_padding_left">0dip</item> 71 <item name="list_item_gap_between_image_and_text">8dip</item> 72 <item name="list_item_gap_between_label_and_data">5dip</item> 73 <item name="list_item_presence_icon_margin">18dip</item> 74 <item name="list_item_photo_size">64dip</item> 75 <item name="list_item_profile_photo_size">80dip</item> 76 <item name="list_item_header_text_indent">8dip</item> 77 <item name="list_item_header_text_size">14sp</item> 78 <item name="list_item_header_text_color">@color/dialtacts_secondary_text_color</item> 79 <item name="list_item_header_height">30dip</item> 80 <item name="list_item_header_underline_height">2dip</item> 81 <item name="list_item_header_underline_color">@color/secondary_header_separator_color</item> 82 <item name="list_item_data_width_weight">5</item> 83 <item name="list_item_label_width_weight">3</item> 84 <item name="list_item_contacts_count_text_color">@color/people_app_theme_color</item> 85 <item name="list_item_contacts_count_text_size">20sp</item> 86 <item name="contact_browser_list_padding_left">24dip</item> 87 <item name="contact_browser_list_padding_right">0dip</item> 88 <item name="contact_browser_background">@android:color/transparent</item> 89 <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> 90 </style> 91 92 <style name="ContactPickerLayout" parent="ContactPickerTheme"> 93 <item name="android:layout_width">match_parent</item> 94 <item name="android:layout_height">match_parent</item> 95 </style> 96 <style name="JoinContactActivityTheme" parent="ContactPickerTheme" > 97 <item name="android:layout_width">match_parent</item> 98 <item name="android:layout_height">match_parent</item> 99 <!-- In the contact picker screen we're using adjustResize but we don't want it here. --> 100 <item name="android:windowSoftInputMode">adjustUnspecified</item> 101 </style> 102 103 <style name="DetailActivityTheme" parent="@android:Theme.Dialog"> 104 <item name="android:windowContentOverlay">@null</item> 105 </style> 106 107 <style name="DirectoryHeader" parent="PeopleTheme"> 108 <item name="android:paddingTop">0dip</item> 109 110 <item name="android:background">@android:color/transparent</item> 111 </style> 112 113 <style name="NonPhoneDialogTheme" parent="@android:Theme.Holo.Light.Dialog"> 114 <item name="android:windowBackground">@android:color/transparent</item> 115 <item name="android:windowContentOverlay">@null</item> 116 </style> 117 118 <style name="ConfirmAddDetailViewStyle"> 119 <item name="android:layout_width">match_parent</item> 120 <item name="android:layout_height">wrap_content</item> 121 </style> 122 123 <style name="ConfirmAddDetailHeaderViewStyle"> 124 <item name="android:layout_width">match_parent</item> 125 <item name="android:layout_height">200dip</item> 126 </style> 127 128 </resources> 129