1 <!-- 2 ~ Copyright (C) 2012 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 <resources> 18 19 <style name="DirectoryHeader"> 20 <item name="android:background">@android:color/transparent</item> 21 </style> 22 23 24 <style name="SectionHeaderStyle" parent="@android:style/TextAppearance.Small"> 25 <item name="android:textSize">14sp</item> 26 <item name="android:textStyle">bold</item> 27 <item name="android:textAllCaps">true</item> 28 <item name="android:textColor">@color/people_app_theme_color</item> 29 <item name="android:fontFamily">sans-serif</item> 30 </style> 31 32 <style name="DirectoryHeaderStyle" parent="@android:style/TextAppearance.Small"> 33 <item name="android:textSize">14sp</item> 34 <item name="android:textStyle">bold</item> 35 <item name="android:textAllCaps">true</item> 36 <item name="android:textColor">@color/people_app_theme_color</item> 37 <item name="android:fontFamily">sans-serif</item> 38 </style> 39 40 <!-- TextView style used for headers. 41 42 This is similar to ?android:attr/listSeparatorTextView but uses different 43 background and text color. See also android:style/Widget.Holo.TextView.ListSeparator 44 (which is private, so we cannot specify it as a parent style). --> 45 <style name="ContactListSeparatorTextViewStyle"> 46 <item name="android:layout_width">match_parent</item> 47 <item name="android:layout_height">wrap_content</item> 48 <!-- See comments for @dimen/list_section_divider_min_height --> 49 <item name="android:minHeight">@dimen/list_section_divider_min_height</item> 50 <item name="android:background">@drawable/list_section_divider_holo_custom</item> 51 <item name="android:textAppearance">@style/SectionHeaderStyle</item> 52 <item name="android:gravity">center_vertical</item> 53 <item name="android:paddingLeft">8dip</item> 54 <item name="android:paddingStart">8dip</item> 55 <item name="android:paddingTop">4dip</item> 56 <item name="android:paddingBottom">4dip</item> 57 <item name="android:ellipsize">end</item> 58 <item name="android:singleLine">true</item> 59 <item name="android:textAllCaps">true</item> 60 </style> 61 62 <style name="ListViewStyle" parent="@android:style/Widget.Holo.Light.ListView"> 63 <item name="android:overScrollMode">always</item> 64 </style> 65 66 <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light"> 67 <item name="android:listViewStyle">@style/ListViewStyle</item> 68 </style> 69 70 <style name="CustomContactListFilterView" parent="ContactListFilterTheme"> 71 <item name="android:layout_width">match_parent</item> 72 <item name="android:layout_height">match_parent</item> 73 </style> 74 75 <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light"> 76 <item name="android:windowBackground">@null</item> 77 <item name="android:windowContentOverlay">@null</item> 78 <item name="android:windowAnimationStyle">@null</item> 79 <item name="android:windowNoTitle">true</item> 80 <item name="android:windowNoDisplay">true</item> 81 <item name="android:windowIsFloating">true</item> 82 </style> 83 </resources> 84