Home | History | Annotate | Download | only in values
      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="TextAppearanceMedium" parent="@android:style/TextAppearance.Medium">
     63         <item name="android:textSize">16sp</item>
     64         <item name="android:textColor">#000000</item>
     65     </style>
     66 
     67     <style name="TextAppearanceSmall" parent="@android:style/TextAppearance.Small">
     68         <item name="android:textSize">12sp</item>
     69         <item name="android:textColor">#888888</item>
     70     </style>
     71 
     72     <style name="ListViewStyle" parent="@android:style/Widget.Holo.Light.ListView">
     73         <item name="android:overScrollMode">always</item>
     74     </style>
     75 
     76     <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light">
     77         <item name="android:listViewStyle">@style/ListViewStyle</item>
     78     </style>
     79 
     80     <style name="CustomContactListFilterView" parent="ContactListFilterTheme">
     81         <item name="android:layout_width">match_parent</item>
     82         <item name="android:layout_height">match_parent</item>
     83     </style>
     84 
     85     <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">
     86         <item name="android:windowBackground">@null</item>
     87         <item name="android:windowContentOverlay">@null</item>
     88         <item name="android:windowAnimationStyle">@null</item>
     89         <item name="android:windowNoTitle">true</item>
     90         <item name="android:windowNoDisplay">true</item>
     91         <item name="android:windowIsFloating">true</item>
     92     </style>
     93 </resources>
     94