Home | History | Annotate | Download | only in values
      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="DialtactsTheme"
     18            parent="android:Theme.Holo">
     19         <item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item>
     20         <item name="android:windowActionBarOverlay">true</item>
     21         <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
     22         <item name="android:windowContentOverlay">@null</item>
     23         <item name="android:windowBackground">@drawable/background_dial_holo_dark</item>
     24         <item name="android:listViewStyle">@style/ListViewStyle</item>
     25         <item name="activated_background">@drawable/list_item_activated_background</item>
     26         <item name="section_header_background">@drawable/list_title_holo</item>
     27         <item name="list_section_header_height">32dip</item>
     28         <item name="list_item_divider">?android:attr/listDivider</item>
     29         <item name="list_item_padding_top">0dip</item>
     30         <item name="list_item_padding_right">0dip</item>
     31         <item name="list_item_padding_bottom">0dip</item>
     32         <item name="list_item_padding_left">0dip</item>
     33         <item name="list_item_gap_between_image_and_text">8dip</item>
     34         <item name="list_item_gap_between_label_and_data">5dip</item>
     35         <item name="list_item_call_button_padding">14dip</item>
     36         <item name="list_item_vertical_divider_margin">5dip</item>
     37         <item name="list_item_presence_icon_margin">4dip</item>
     38         <item name="list_item_presence_icon_size">16dip</item>
     39         <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item>
     40         <item name="list_item_profile_photo_size">70dip</item>
     41         <item name="list_item_prefix_highlight_color">#729a27</item>
     42         <item name="list_item_header_text_indent">8dip</item>
     43         <item name="list_item_header_text_color">@color/people_app_theme_color</item>
     44         <item name="list_item_header_text_size">14sp</item>
     45         <item name="list_item_header_height">24dip</item>
     46         <item name="list_item_header_underline_height">1dip</item>
     47         <item name="list_item_header_underline_color">@color/people_app_theme_color</item>
     48         <item name="list_item_data_width_weight">5</item>
     49         <item name="list_item_label_width_weight">3</item>
     50         <item name="contact_browser_list_padding_left">16dip</item>
     51         <item name="contact_browser_list_padding_right">0dip</item>
     52         <item name="contact_browser_background">@android:color/transparent</item>
     53         <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
     54         <!-- CallLog -->
     55         <item name="call_log_primary_text_color">#FFFFFF</item>
     56         <item name="call_log_primary_background_color">#000000</item>
     57         <item name="call_log_secondary_text_color">#888888</item>
     58         <item name="call_log_secondary_background_color">#333333</item>
     59         <item name="call_log_header_color">#33b5e5</item>
     60         <!-- VoicemailStatus -->
     61         <item name="call_log_voicemail_status_height">48dip</item>
     62         <item name="call_log_voicemail_status_background_color">#262626</item>
     63         <item name="call_log_voicemail_status_text_color">#888888</item>
     64         <item name="call_log_voicemail_status_action_text_color">#33b5e5</item>
     65             <!-- Favorites -->
     66         <item name="favorites_padding_bottom">?android:attr/actionBarSize</item>
     67     </style>
     68 
     69     <style name="CallDetailActivityTheme" parent="android:Theme.Holo">
     70         <item name="android:windowBackground">@android:color/black</item>
     71         <item name="android:gravity">top</item>
     72         <item name="android:listViewStyle">@style/ListViewStyle</item>
     73         <!-- CallLog -->
     74         <item name="call_log_primary_text_color">#FFFFFF</item>
     75         <item name="call_log_primary_background_color">#000000</item>
     76         <item name="call_log_secondary_text_color">#FFFFFF</item>
     77         <item name="call_log_secondary_background_color">#333333</item>
     78         <item name="call_log_header_color">#33b5e5</item>
     79         <!-- VoicemailStatus -->
     80         <item name="call_log_voicemail_status_height">48dip</item>
     81         <item name="call_log_voicemail_status_background_color">#262626</item>
     82         <item name="call_log_voicemail_status_text_color">#888888</item>
     83         <item name="call_log_voicemail_status_action_text_color">#33b5e5</item>
     84     </style>
     85 
     86     <style name="DetailActivityTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
     87         <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
     88         <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
     89         <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
     90         <item name="android:textColorPrimary">@color/primary_text_color</item>
     91         <item name="android:textColorSecondary">@color/secondary_text_color</item>
     92         <item name="android:listViewStyle">@style/ListViewStyle</item>
     93     </style>
     94 
     95     <style name="EditorActivityTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
     96         <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
     97         <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
     98         <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
     99         <item name="android:windowContentOverlay">@null</item>
    100         <item name="android:textColorPrimary">@color/primary_text_color</item>
    101         <item name="android:textColorSecondary">@color/secondary_text_color</item>
    102         <item name="android:listViewStyle">@style/ListViewStyle</item>
    103     </style>
    104 
    105     <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">
    106         <item name="android:windowBackground">@null</item>
    107         <item name="android:windowContentOverlay">@null</item>
    108         <item name="android:windowAnimationStyle">@null</item>
    109         <item name="android:windowNoTitle">true</item>
    110         <item name="android:windowNoDisplay">true</item>
    111         <item name="android:windowIsFloating">true</item>
    112     </style>
    113 
    114     <style name="Theme">
    115     </style>
    116 
    117     <style name="Theme.QuickContact" parent="@android:style/Theme.Holo.Light">
    118         <item name="android:windowBackground">@android:color/transparent</item>
    119         <item name="android:colorBackgroundCacheHint">@null</item>
    120         <item name="android:windowFrame">@null</item>
    121         <item name="android:windowContentOverlay">@null</item>
    122         <item name="android:windowAnimationStyle">@null</item>
    123         <item name="android:windowIsFloating">false</item>
    124         <item name="android:backgroundDimEnabled">true</item>
    125         <item name="android:windowIsTranslucent">true</item>
    126         <item name="android:windowNoTitle">true</item>
    127         <item name="android:listViewStyle">@style/ListViewStyle</item>
    128     </style>
    129 
    130     <style name="PeopleTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
    131         <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
    132         <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
    133         <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
    134         <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item>
    135         <item name="android:textColorPrimary">@color/primary_text_color</item>
    136         <item name="android:textColorSecondary">@color/secondary_text_color</item>
    137         <item name="android:listViewStyle">@style/ListViewStyle</item>
    138         <item name="list_item_height">?android:attr/listPreferredItemHeight</item>
    139         <item name="activated_background">@drawable/list_item_activated_background</item>
    140         <item name="section_header_background">@drawable/list_title_holo</item>
    141         <item name="list_section_header_height">24dip</item>
    142         <item name="list_item_divider">?android:attr/listDivider</item>
    143         <item name="list_item_padding_top">0dip</item>
    144         <item name="list_item_padding_right">0dip</item>
    145         <item name="list_item_padding_bottom">0dip</item>
    146         <item name="list_item_padding_left">0dip</item>
    147         <item name="list_item_gap_between_image_and_text">8dip</item>
    148         <item name="list_item_gap_between_label_and_data">5dip</item>
    149         <item name="list_item_call_button_padding">14dip</item>
    150         <item name="list_item_vertical_divider_margin">5dip</item>
    151         <item name="list_item_presence_icon_margin">4dip</item>
    152         <item name="list_item_presence_icon_size">16dip</item>
    153         <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item>
    154         <item name="list_item_profile_photo_size">70dip</item>
    155         <item name="list_item_prefix_highlight_color">#99cc00</item>
    156         <item name="list_item_header_text_color">@color/people_app_theme_color</item>
    157         <item name="list_item_header_text_size">14sp</item>
    158         <item name="list_item_header_height">26dip</item>
    159         <item name="list_item_header_underline_height">1dip</item>
    160         <item name="list_item_header_underline_color">@color/people_app_theme_color</item>
    161         <item name="list_item_data_width_weight">5</item>
    162         <item name="list_item_label_width_weight">3</item>
    163         <item name="list_item_contacts_count_text_color">@color/contact_count_text_color</item>
    164         <item name="list_item_header_text_indent">8dip</item>
    165         <item name="contact_browser_list_padding_left">16dip</item>
    166         <item name="contact_browser_list_padding_right">0dip</item>
    167         <item name="contact_browser_background">@android:color/transparent</item>
    168         <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
    169         <item name="list_item_contacts_count_text_size">12sp</item>
    170         <!-- Favorites -->
    171         <item name="favorites_padding_bottom">0dip</item>
    172     </style>
    173 
    174     <style name="ContactsActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
    175         <item name="android:background">@drawable/ab_solid_custom_blue_inverse_holo</item>
    176         <item name="android:backgroundStacked">@drawable/ab_solid_custom_blue_inverse_holo</item>
    177         <item name="android:displayOptions"></item>
    178     </style>
    179 
    180     <style name="ContactsActionBarTheme" parent="@android:style/Theme.Holo">
    181         <item name="android:textColorHint">#CCCCCC</item>
    182         <item name="android:textColor">@android:color/black</item>
    183         <item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
    184         <item name="android:dropDownListViewStyle">@style/ListViewDropdownStyle</item>
    185     </style>
    186 
    187     <style name="ContactsActionBarTabView" parent="@android:style/Widget.Holo.ActionBar.TabView">
    188         <item name="android:background">@drawable/action_bar_tab</item>
    189     </style>
    190 
    191     <style name="ListViewDropdownStyle" parent="@android:style/Widget.ListView.DropDown">
    192         <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item>
    193     </style>
    194 
    195     <style name="ListViewStyle" parent="@android:style/Widget.Holo.Light.ListView">
    196         <item name="android:overScrollMode">always</item>
    197     </style>
    198 
    199     <style name="ContactPickerTheme" parent="@style/PeopleTheme" />
    200 
    201     <style name="ContactPickerLayout" parent="ContactPickerTheme">
    202         <item name="android:layout_width">match_parent</item>
    203         <item name="android:layout_height">match_parent</item>
    204     </style>
    205 
    206     <style name="JoinContactActivityTheme" parent="ContactPickerTheme" >
    207     </style>
    208 
    209     <style name="ContactsPreferencesTheme" parent="@android:Theme.Holo.Light">
    210         <item name="android:listViewStyle">@style/ListViewStyle</item>
    211     </style>
    212 
    213     <style name="ContactListFilterTheme" parent="@android:Theme.Holo.Light">
    214         <item name="android:listViewStyle">@style/ListViewStyle</item>
    215     </style>
    216 
    217     <style name="CustomContactListFilterView" parent="ContactListFilterTheme">
    218         <item name="android:layout_width">match_parent</item>
    219         <item name="android:layout_height">match_parent</item>
    220     </style>
    221 
    222     <style name="DirectoryHeader" parent="PeopleTheme">
    223         <item name="android:background">@android:color/transparent</item>
    224     </style>
    225 
    226     <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar">
    227     </style>
    228 
    229     <style name="NonPhoneDialogTheme" parent="@android:Theme.Holo.Light.Dialog">
    230     </style>
    231 
    232     <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.Holo.Light.Dialog.MinWidth">
    233         <item name="android:windowCloseOnTouchOutside">true</item>
    234     </style>
    235 
    236     <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.Holo.Light.Dialog.NoActionBar.MinWidth">
    237         <item name="android:windowCloseOnTouchOutside">true</item>
    238         <item name="android:textColorPrimary">@color/primary_text_color</item>
    239         <item name="android:textColorSecondary">@color/secondary_text_color</item>
    240         <item name="android:listViewStyle">@style/ListViewStyle</item>
    241     </style>
    242 
    243     <style name="SectionDivider">
    244         <item name="android:background">#7e7e87</item>
    245         <item name="android:layout_height">1dip</item>
    246         <item name="android:layout_width">match_parent</item>
    247     </style>
    248 
    249     <style name="ContactDetailItemType">
    250         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    251         <item name="android:textColor">?android:attr/textColorSecondary</item>
    252         <item name="android:singleLine">true</item>
    253         <item name="android:ellipsize">marquee</item>
    254         <item name="android:layout_gravity">center_vertical</item>
    255     </style>
    256 
    257     <style name="DialtactsDigitsTextAppearance">
    258         <item name="android:maxLines">1</item>
    259         <item name="android:scrollHorizontally">true</item>
    260         <item name="android:textSize">@dimen/dialpad_digits_text_size</item>
    261         <item name="android:freezesText">true</item>
    262         <item name="android:focusableInTouchMode">true</item>
    263         <item name="android:editable">true</item>
    264         <item name="android:cursorVisible">false</item>
    265         <item name="android:layout_weight">0</item>
    266     </style>
    267 
    268     <style name="DialtactsDialpadButtonStyle">
    269         <item name="android:layout_width">0dip</item>
    270         <item name="android:layout_height">match_parent</item>
    271         <item name="android:layout_weight">1</item>
    272         <item name="android:background">?android:attr/selectableItemBackground</item>
    273         <item name="android:soundEffectsEnabled">false</item>
    274     </style>
    275 
    276     <style name="ConfirmAddDetailViewStyle">
    277         <item name="android:layout_width">match_parent</item>
    278         <item name="android:layout_height">wrap_content</item>
    279     </style>
    280 
    281     <style name="ConfirmAddDetailHeaderViewStyle">
    282         <item name="android:layout_width">match_parent</item>
    283         <item name="android:layout_height">150dip</item>
    284     </style>
    285 
    286     <style name="DialtactsActionBarStyle" parent="android:Widget.Holo.ActionBar">
    287         <item name="android:backgroundSplit">@null</item>
    288         <item name="android:backgroundStacked">@drawable/ab_stacked_opaque_dark_holo</item>
    289         <item name="android:displayOptions"></item>
    290     </style>
    291 
    292     <style name="QuickContactListItemStyle">
    293         <item name="android:layout_width">match_parent</item>
    294         <item name="android:layout_height">wrap_content</item>
    295         <item name="android:minHeight">?android:attr/listPreferredItemHeight</item>
    296         <item name="android:orientation">horizontal</item>
    297         <item name="android:gravity">center_vertical</item>
    298         <item name="android:background">?android:attr/selectableItemBackground</item>
    299     </style>
    300 
    301     <style name="QuickContactListItemTextWrapperStyle">
    302         <item name="android:layout_width">0dip</item>
    303         <item name="android:layout_height">wrap_content</item>
    304         <item name="android:layout_weight">1</item>
    305         <item name="android:paddingLeft">16dip</item>
    306         <item name="android:paddingRight">16dip</item>
    307         <item name="android:gravity">center_vertical</item>
    308         <item name="android:orientation">vertical</item>
    309     </style>
    310 
    311     <style name="QuickContactListBottomStyle">
    312         <item name="android:layout_width">match_parent</item>
    313         <item name="android:layout_height">2dip</item>
    314         <item name="android:background">@color/quickcontact_tab_indicator</item>
    315     </style>
    316 
    317 
    318     <style name="GroupMembershipSizeTextAppearance" parent="@android:style/TextAppearance.Small"/>
    319 
    320     <!-- TextView style with blue underline. It is most suitable for headers.
    321 
    322          This is similar to ?android:attr/listSeparatorTextView but uses different
    323          background and text color. See also android:style/Widget.Holo.TextView.ListSeparator
    324          (which is private, so we cannot specify it as a parent style).  -->
    325     <style name="ContactListSeparatorTextViewStyle">
    326         <item name="android:layout_width">match_parent</item>
    327         <item name="android:layout_height">wrap_content</item>
    328         <!-- See comments for @dimen/list_section_divider_min_height -->
    329         <item name="android:minHeight">@dimen/list_section_divider_min_height</item>
    330         <item name="android:background">@drawable/list_section_divider_holo_custom</item>
    331         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    332         <item name="android:textStyle">bold</item>
    333         <item name="android:textColor">@color/people_app_theme_color</item>
    334         <item name="android:gravity">center_vertical</item>
    335         <item name="android:paddingLeft">8dip</item>
    336         <item name="android:ellipsize">end</item>
    337         <item name="android:singleLine">true</item>
    338         <item name="android:textAllCaps">true</item>
    339     </style>
    340 </resources>
    341