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