Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2012 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License |
| 16 | --> |
| 17 | <resources> |
| 18 | <style name="DialtactsTheme" |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 19 | parent="android:Theme.Holo.Light"> |
| 20 | <item name="android:textColorPrimary">@color/dialtacts_primary_text_color</item> |
| 21 | <item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item> |
Yorke Lee | d89b25d | 2013-09-10 10:13:04 -0700 | [diff] [blame] | 22 | <item name="android:windowActionBarOverlay">false</item> |
Yorke Lee | fb64bfa | 2013-09-09 18:05:36 -0700 | [diff] [blame] | 23 | <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 24 | <item name="android:actionBarTabStyle">@style/DialtactsActionBarTabStyle</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 25 | <item name="android:windowContentOverlay">@null</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 26 | <!-- Searchbox Style --> |
| 27 | <item name="android:editTextStyle">@style/DialtactsSearchboxStyle</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 28 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
| 29 | <item name="activated_background">@drawable/list_item_activated_background</item> |
| 30 | <item name="section_header_background">@drawable/list_title_holo</item> |
| 31 | <item name="list_section_header_height">32dip</item> |
| 32 | <item name="list_item_divider">?android:attr/listDivider</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 33 | <item name="list_item_padding_top">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 34 | <item name="list_item_padding_right">0dip</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 35 | <item name="list_item_padding_bottom">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 36 | <item name="list_item_padding_left">0dip</item> |
| 37 | <item name="list_item_gap_between_image_and_text">8dip</item> |
| 38 | <item name="list_item_gap_between_label_and_data">5dip</item> |
| 39 | <item name="list_item_presence_icon_margin">4dip</item> |
| 40 | <item name="list_item_presence_icon_size">16dip</item> |
| 41 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 42 | <item name="list_item_profile_photo_size">70dip</item> |
| 43 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
| 44 | <item name="list_item_header_text_indent">8dip</item> |
Yorke Lee | 1f3d7aa | 2013-09-11 17:11:58 -0700 | [diff] [blame] | 45 | <item name="list_item_header_text_color">@color/people_app_theme_color</item> |
Yorke Lee | aceb88b | 2013-10-14 17:18:01 -0700 | [diff] [blame] | 46 | <item name="list_item_header_text_size">14sp</item> |
| 47 | <item name="list_item_header_height">30dip</item> |
| 48 | <item name="list_item_header_underline_height">1dip</item> |
Christine Chen | 6091473 | 2013-07-30 14:23:54 -0700 | [diff] [blame] | 49 | <item name="list_item_header_underline_color">@color/favorite_contacts_separator_color</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 50 | <item name="list_item_data_width_weight">5</item> |
| 51 | <item name="list_item_label_width_weight">3</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 52 | <item name="contact_browser_list_padding_left">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 53 | <item name="contact_browser_list_padding_right">0dip</item> |
| 54 | <item name="contact_browser_background">@android:color/transparent</item> |
| 55 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
| 56 | <!-- CallLog --> |
Chiao Cheng | 037bbac | 2013-11-13 14:55:45 -0800 | [diff] [blame] | 57 | <item name="call_log_primary_text_color">#000000</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 58 | <item name="call_log_primary_background_color">#000000</item> |
Chiao Cheng | 037bbac | 2013-11-13 14:55:45 -0800 | [diff] [blame] | 59 | <item name="call_log_secondary_text_color">@color/dialtacts_secondary_text_color</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 60 | <item name="call_log_secondary_background_color">#333333</item> |
| 61 | <item name="call_log_header_color">#33b5e5</item> |
| 62 | <!-- VoicemailStatus --> |
| 63 | <item name="call_log_voicemail_status_height">48dip</item> |
| 64 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 65 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 66 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
| 67 | <!-- Favorites --> |
| 68 | <item name="favorites_padding_bottom">?android:attr/actionBarSize</item> |
| 69 | </style> |
| 70 | |
| 71 | <style name="DialpadTheme" parent="DialtactsTheme"> |
| 72 | <item name="android:textColorPrimary">#FFFFFF</item> |
| 73 | </style> |
| 74 | |
Yorke Lee | 63e1155 | 2013-09-10 14:15:38 -0700 | [diff] [blame] | 75 | <style name="DialtactsThemeWithActionBarOverlay" parent="DialtactsTheme"> |
Yorke Lee | d89b25d | 2013-09-10 10:13:04 -0700 | [diff] [blame] | 76 | <item name="android:windowActionBarOverlay">true</item> |
| 77 | </style> |
| 78 | |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 79 | <style name="CallDetailActivityTheme" parent="android:Theme.Holo.Light"> |
| 80 | <item name="android:windowBackground">@color/background_dialer_list_items</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 81 | <item name="android:gravity">top</item> |
| 82 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
| 83 | <!-- CallLog --> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 84 | <item name="call_log_primary_text_color">#333333</item> |
| 85 | <item name="call_log_primary_background_color">#FFFFFF</item> |
| 86 | <item name="call_log_secondary_text_color">#333333</item> |
| 87 | <item name="call_log_secondary_background_color">#FFFFFF</item> |
| 88 | <item name="call_log_header_color">#FFFFFF</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 89 | <!-- VoicemailStatus --> |
| 90 | <item name="call_log_voicemail_status_height">48dip</item> |
| 91 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 92 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 93 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
| 94 | </style> |
| 95 | |
| 96 | <style name="Theme"> |
| 97 | </style> |
| 98 | |
| 99 | <style name="DialtactsDigitsTextAppearance"> |
| 100 | <item name="android:maxLines">1</item> |
| 101 | <item name="android:scrollHorizontally">true</item> |
| 102 | <item name="android:textSize">@dimen/dialpad_digits_text_size</item> |
| 103 | <item name="android:freezesText">true</item> |
| 104 | <item name="android:focusableInTouchMode">true</item> |
| 105 | <item name="android:editable">true</item> |
| 106 | <item name="android:cursorVisible">false</item> |
| 107 | <item name="android:layout_weight">0</item> |
| 108 | </style> |
| 109 | |
| 110 | <style name="DialtactsDialpadButtonStyle"> |
| 111 | <item name="android:layout_width">0dip</item> |
| 112 | <item name="android:layout_height">match_parent</item> |
| 113 | <item name="android:layout_weight">1</item> |
| 114 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 115 | <item name="android:soundEffectsEnabled">false</item> |
| 116 | </style> |
| 117 | |
Yorke Lee | 1be0178 | 2012-11-07 15:11:44 -0800 | [diff] [blame] | 118 | <style name="DialpadHorizontalSeparator"> |
| 119 | <item name="android:layout_width">match_parent</item> |
| 120 | <item name="android:layout_height">@dimen/dialpad_vertical_margin</item> |
| 121 | <item name="android:background">#66000000</item> |
| 122 | </style> |
| 123 | |
Yorke Lee | fb64bfa | 2013-09-09 18:05:36 -0700 | [diff] [blame] | 124 | <style name="DialtactsActionBarStyle" parent="android:Widget.Holo.ActionBar"> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 125 | <item name="android:background">@drawable/call_history_actionbar_background</item> |
| 126 | <item name="android:backgroundStacked">@color/actionbar_background_color</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 127 | <!-- Empty icon --> |
| 128 | <item name="android:icon">@android:color/transparent</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 129 | <item name="android:displayOptions"></item> |
| 130 | </style> |
| 131 | |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 132 | <style name="DialtactsActionBarTabStyle" parent="@android:style/Widget.Holo.ActionBar.TabView"> |
| 133 | <item name="android:background">@drawable/action_bar_tab</item> |
| 134 | </style> |
| 135 | |
Chiao Cheng | e09d5ff | 2012-10-15 15:11:43 -0700 | [diff] [blame] | 136 | <style name="ListViewStyle" parent="@android:style/Widget.Holo.Light.ListView"> |
| 137 | <item name="android:overScrollMode">always</item> |
| 138 | </style> |
| 139 | |
Chiao Cheng | a1b886a | 2012-12-05 12:09:05 -0800 | [diff] [blame] | 140 | <style name="FragmentActionBarPadding"> |
| 141 | <item name="android:paddingBottom">?android:attr/actionBarSize</item> |
| 142 | </style> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 143 | |
| 144 | <style name="DialtactsSearchboxStyle" parent="@android:style/Widget.EditText"> |
| 145 | <item name="android:background">@null</item> |
| 146 | <item name="android:textColorHint">@color/searchbox_text_color</item> |
| 147 | </style> |
Christine Chen | 1f06f0a | 2013-10-03 14:59:11 -0700 | [diff] [blame] | 148 | |
| 149 | <style name="DismissButtonStyle"> |
| 150 | <item name="android:paddingLeft">@dimen/dismiss_button_padding_start</item> |
| 151 | <item name="android:paddingRight">@dimen/dismiss_button_padding_end</item> |
| 152 | </style> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 153 | </resources> |