• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <!-- TextView style with blue underline. It is most suitable for headers.
24
25This is similar to ?android:attr/listSeparatorTextView but uses different
26background and text color. See also android:style/Widget.Holo.TextView.ListSeparator
27(which is private, so we cannot specify it as a parent style).  -->
28    <style name="ContactListSeparatorTextViewStyle">
29        <item name="android:layout_width">match_parent</item>
30        <item name="android:layout_height">wrap_content</item>
31        <!-- See comments for @dimen/list_section_divider_min_height -->
32        <item name="android:minHeight">@dimen/list_section_divider_min_height</item>
33        <item name="android:background">@drawable/list_section_divider_holo_custom</item>
34        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
35        <item name="android:textStyle">bold</item>
36        <item name="android:textColor">@color/people_app_theme_color</item>
37        <item name="android:gravity">center_vertical</item>
38        <item name="android:paddingLeft">8dip</item>
39        <item name="android:paddingStart">8dip</item>
40        <item name="android:ellipsize">end</item>
41        <item name="android:singleLine">true</item>
42        <item name="android:textAllCaps">true</item>
43    </style>
44
45    <style name="ListViewStyle" parent="@android:style/Widget.Holo.Light.ListView">
46        <item name="android:overScrollMode">always</item>
47    </style>
48
49    <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light.Dialog">
50        <item name="android:windowCloseOnTouchOutside">true</item>
51        <item name="android:listViewStyle">@style/ListViewStyle</item>
52    </style>
53
54    <style name="CustomContactListFilterView" parent="ContactListFilterTheme">
55        <item name="android:layout_width">match_parent</item>
56        <item name="android:layout_height">match_parent</item>
57    </style>
58
59    <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">
60        <item name="android:windowBackground">@null</item>
61        <item name="android:windowContentOverlay">@null</item>
62        <item name="android:windowAnimationStyle">@null</item>
63        <item name="android:windowNoTitle">true</item>
64        <item name="android:windowNoDisplay">true</item>
65        <item name="android:windowIsFloating">true</item>
66    </style>
67</resources>
68