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 | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 19 | parent="android:Theme.Quantum.Light"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 20 | <item name="android:textColorPrimary">@color/dialtacts_primary_text_color</item> |
| 21 | <item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item> |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 22 | <item name="android:windowActionBarOverlay">true</item> |
| 23 | <item name="android:windowActionModeOverlay">true</item> |
Yorke Lee | fb64bfa | 2013-09-09 18:05:36 -0700 | [diff] [blame] | 24 | <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 25 | <!-- Style for the tabs (for the tabs) --> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 26 | <item name="android:actionBarTabStyle">@style/DialtactsActionBarTabStyle</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 27 | <!-- Style for the tab bar (for the divider between tabs) --> |
| 28 | <item name="android:actionBarTabBarStyle">@style/DialtactsActionBarTabBarStyle</item> |
| 29 | <!-- Style for the tab bar text (for text on tabs) --> |
| 30 | <item name="android:actionBarTabTextStyle">@style/DialtactsActionBarTabTextStyle</item> |
| 31 | <!-- Style for the overflow button in the actionbar. --> |
| 32 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 33 | <item name="android:windowContentOverlay">@null</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 34 | <!-- Searchbox Style --> |
| 35 | <item name="android:editTextStyle">@style/DialtactsSearchboxStyle</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 36 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
| 37 | <item name="activated_background">@drawable/list_item_activated_background</item> |
| 38 | <item name="section_header_background">@drawable/list_title_holo</item> |
| 39 | <item name="list_section_header_height">32dip</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 40 | <item name="list_item_padding_top">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 41 | <item name="list_item_padding_right">0dip</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 42 | <item name="list_item_padding_bottom">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 43 | <item name="list_item_padding_left">0dip</item> |
| 44 | <item name="list_item_gap_between_image_and_text">8dip</item> |
| 45 | <item name="list_item_gap_between_label_and_data">5dip</item> |
| 46 | <item name="list_item_presence_icon_margin">4dip</item> |
| 47 | <item name="list_item_presence_icon_size">16dip</item> |
| 48 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 49 | <item name="list_item_profile_photo_size">70dip</item> |
| 50 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
| 51 | <item name="list_item_header_text_indent">8dip</item> |
Yorke Lee | 1f3d7aa | 2013-09-11 17:11:58 -0700 | [diff] [blame] | 52 | <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] | 53 | <item name="list_item_header_text_size">14sp</item> |
| 54 | <item name="list_item_header_height">30dip</item> |
| 55 | <item name="list_item_header_underline_height">1dip</item> |
Christine Chen | 6091473 | 2013-07-30 14:23:54 -0700 | [diff] [blame] | 56 | <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] | 57 | <item name="list_item_data_width_weight">5</item> |
| 58 | <item name="list_item_label_width_weight">3</item> |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 59 | <item name="contact_browser_list_padding_left">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 60 | <item name="contact_browser_list_padding_right">0dip</item> |
| 61 | <item name="contact_browser_background">@android:color/transparent</item> |
| 62 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
| 63 | <!-- CallLog --> |
Chiao Cheng | 037bbac | 2013-11-13 14:55:45 -0800 | [diff] [blame] | 64 | <item name="call_log_primary_text_color">#000000</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 65 | <item name="call_log_primary_background_color">#000000</item> |
Chiao Cheng | 037bbac | 2013-11-13 14:55:45 -0800 | [diff] [blame] | 66 | <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] | 67 | <item name="call_log_secondary_background_color">#333333</item> |
| 68 | <item name="call_log_header_color">#33b5e5</item> |
| 69 | <!-- VoicemailStatus --> |
| 70 | <item name="call_log_voicemail_status_height">48dip</item> |
| 71 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 72 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 73 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
| 74 | <!-- Favorites --> |
| 75 | <item name="favorites_padding_bottom">?android:attr/actionBarSize</item> |
| 76 | </style> |
| 77 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 78 | <!-- Action bar overflow menu icon. --> |
| 79 | <style name="DialtactsActionBarOverflow" |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 80 | parent="@android:style/Widget.Quantum.Light.ActionButton.Overflow"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 81 | <item name="android:src">@drawable/ic_menu_overflow_lt</item> |
| 82 | </style> |
| 83 | |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 84 | <style name="DialpadTheme" parent="DialtactsTheme"> |
| 85 | <item name="android:textColorPrimary">#FFFFFF</item> |
| 86 | </style> |
| 87 | |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 88 | <style name="DialtactsThemeWithoutActionBarOverlay" parent="DialtactsTheme"> |
| 89 | <item name="android:windowActionBarOverlay">false</item> |
Yorke Lee | d89b25d | 2013-09-10 10:13:04 -0700 | [diff] [blame] | 90 | </style> |
| 91 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame^] | 92 | <!-- Hide the actionbar title during the activity preview --> |
| 93 | <style name="DialtactsActivityTheme" parent="DialtactsTheme"> |
| 94 | <item name="android:actionBarStyle">@style/DialtactsActionBarWithoutTitleStyle</item> |
| 95 | </style> |
| 96 | |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 97 | <style name="CallDetailActivityTheme" parent="android:Theme.Quantum.Light"> |
Yorke Lee | 9e91bb0 | 2014-03-05 17:50:50 -0800 | [diff] [blame] | 98 | <item name="android:windowBackground">@color/background_dialer_light</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 99 | <item name="android:gravity">top</item> |
| 100 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Tyler Gunn | 4f0f8bd | 2014-03-07 15:14:48 -0800 | [diff] [blame] | 101 | <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item> |
| 102 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 103 | <!-- CallLog --> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 104 | <item name="call_log_primary_text_color">#333333</item> |
| 105 | <item name="call_log_primary_background_color">#FFFFFF</item> |
| 106 | <item name="call_log_secondary_text_color">#333333</item> |
| 107 | <item name="call_log_secondary_background_color">#FFFFFF</item> |
| 108 | <item name="call_log_header_color">#FFFFFF</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 109 | <!-- VoicemailStatus --> |
| 110 | <item name="call_log_voicemail_status_height">48dip</item> |
| 111 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 112 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 113 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
| 114 | </style> |
| 115 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 116 | <style name="DialpadKeyNumberStyle"> |
| 117 | <item name="android:textColor">@color/actionbar_background_color</item> |
| 118 | <item name="android:textSize">@dimen/dialpad_key_numbers_size</item> |
| 119 | <item name="android:fontFamily">sans-serif-light</item> |
| 120 | <item name="android:layout_width">@dimen/dialpad_key_numbers_width</item> |
| 121 | <item name="android:layout_height">wrap_content</item> |
| 122 | <item name="android:gravity">center</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 123 | </style> |
| 124 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 125 | <style name="DialpadKeyStarPoundStyle"> |
| 126 | <item name="android:textColor">@color/dialpad_secondary_text_color</item> |
| 127 | <item name="android:textSize">@dimen/dialpad_key_star_pound_size</item> |
| 128 | <item name="android:fontFamily">sans-serif-light</item> |
| 129 | <item name="android:layout_width">@dimen/dialpad_key_numbers_width</item> |
| 130 | <item name="android:layout_height">wrap_content</item> |
| 131 | <item name="android:gravity">center</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 132 | </style> |
| 133 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 134 | <style name="DialpadKeyLettersStyle"> |
| 135 | <item name="android:textColor">@color/dialpad_secondary_text_color</item> |
| 136 | <item name="android:textSize">@dimen/dialpad_key_letters_size</item> |
| 137 | <item name="android:fontFamily">sans-serif-light</item> |
| 138 | <item name="android:layout_width">@dimen/dialpad_key_letters_width</item> |
| 139 | <item name="android:layout_height">wrap_content</item> |
| 140 | <item name="android:paddingLeft">@dimen/dialpad_number_to_letters_padding</item> |
| 141 | </style> |
| 142 | |
| 143 | <style name="DialpadKeyButtonStyle"> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 144 | <item name="android:soundEffectsEnabled">false</item> |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 145 | <item name="android:clickable">true</item> |
| 146 | <item name="android:layout_width">fill_parent</item> |
| 147 | <item name="android:layout_height">@dimen/dialpad_key_height</item> |
| 148 | <item name="android:background">@drawable/dialpad_key_colors</item> |
| 149 | <item name="android:focusable">true</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 150 | </style> |
| 151 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 152 | <style name="DialpadKeyInternalLayoutStyle"> |
| 153 | <item name="android:layout_width">wrap_content</item> |
| 154 | <item name="android:layout_height">wrap_content</item> |
| 155 | <item name="android:layout_gravity">center</item> |
Yorke Lee | 1be0178 | 2012-11-07 15:11:44 -0800 | [diff] [blame] | 156 | </style> |
| 157 | |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 158 | <style name="DialtactsActionBarStyle" parent="android:Widget.Quantum.ActionBar"> |
Andrew Lee | 32e7495 | 2014-04-15 16:12:41 -0700 | [diff] [blame] | 159 | <item name="android:background">@color/actionbar_background_color</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 160 | <item name="android:backgroundStacked">#ffffff</item> |
| 161 | <item name="android:titleTextStyle">@style/DialtactsActionBarTitleText</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 162 | <!-- Empty icon --> |
| 163 | <item name="android:icon">@android:color/transparent</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 164 | </style> |
| 165 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame^] | 166 | <style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle"> |
| 167 | <item name="android:displayOptions"></item> |
| 168 | </style> |
| 169 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 170 | <!-- Text in the action bar at the top of the screen --> |
| 171 | <style name="DialtactsActionBarTitleText" |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 172 | parent="@android:style/TextAppearance.Quantum.Widget.ActionBar.Title"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 173 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 174 | </style> |
| 175 | |
| 176 | <!-- Styling for the tab bar; handles styling of the divider line. --> |
| 177 | <style name="DialtactsActionBarTabBarStyle" |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 178 | parent="@android:style/Widget.Quantum.ActionBar.TabBar"> |
Andrew Lee | 6a750eb | 2014-04-15 18:58:07 -0700 | [diff] [blame] | 179 | <item name="android:showDividers">none</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 180 | </style> |
| 181 | |
| 182 | <!-- Styling for tabs. --> |
Andrew Lee | 6a750eb | 2014-04-15 18:58:07 -0700 | [diff] [blame] | 183 | <style name="DialtactsActionBarTabStyle" parent="@android:style/Widget.Quantum.ActionBar.TabView"> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 184 | <item name="android:background">@drawable/action_bar_tab</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 185 | <item name="android:showDividers">none</item> |
| 186 | </style> |
| 187 | |
| 188 | <!-- Text style for tabs. --> |
| 189 | <style name="DialtactsActionBarTabTextStyle" |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 190 | parent="android:style/Widget.Quantum.Light.ActionBar.TabText"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 191 | <item name="android:textColor">@color/tab_text_color</item> |
| 192 | <item name="android:textSize">@dimen/tab_text_size</item> |
| 193 | <item name="android:fontFamily">@string/tab_font_family</item> |
| 194 | <item name="android:textStyle">bold</item> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 195 | </style> |
| 196 | |
Yorke Lee | 57a0187 | 2014-03-24 13:39:27 -0700 | [diff] [blame] | 197 | <style name="ListViewStyle" parent="@android:style/Widget.Quantum.Light.ListView"> |
Chiao Cheng | e09d5ff | 2012-10-15 15:11:43 -0700 | [diff] [blame] | 198 | <item name="android:overScrollMode">always</item> |
| 199 | </style> |
| 200 | |
Chiao Cheng | a1b886a | 2012-12-05 12:09:05 -0800 | [diff] [blame] | 201 | <style name="FragmentActionBarPadding"> |
| 202 | <item name="android:paddingBottom">?android:attr/actionBarSize</item> |
| 203 | </style> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 204 | |
| 205 | <style name="DialtactsSearchboxStyle" parent="@android:style/Widget.EditText"> |
| 206 | <item name="android:background">@null</item> |
| 207 | <item name="android:textColorHint">@color/searchbox_text_color</item> |
| 208 | </style> |
Christine Chen | 1f06f0a | 2013-10-03 14:59:11 -0700 | [diff] [blame] | 209 | |
| 210 | <style name="DismissButtonStyle"> |
| 211 | <item name="android:paddingLeft">@dimen/dismiss_button_padding_start</item> |
| 212 | <item name="android:paddingRight">@dimen/dismiss_button_padding_end</item> |
| 213 | </style> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 214 | </resources> |