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" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 19 | parent="android:Theme.Material.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 overflow button in the actionbar. --> |
| 26 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item> |
Yorke Lee | 6c027d8 | 2014-05-27 10:08:20 -0700 | [diff] [blame] | 27 | <!-- Drawable for the back button --> |
| 28 | <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 29 | <item name="android:windowContentOverlay">@null</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 30 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Yorke Lee | 74edcdc | 2014-07-11 16:15:08 -0700 | [diff] [blame] | 31 | <item name="android:overlapAnchor">true</item> |
Brian Attwell | 558ee74 | 2014-08-21 11:36:55 -0700 | [diff] [blame] | 32 | <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 33 | <item name="activated_background">@drawable/list_item_activated_background</item> |
| 34 | <item name="section_header_background">@drawable/list_title_holo</item> |
| 35 | <item name="list_section_header_height">32dip</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 36 | <item name="list_item_padding_top">12dp</item> |
Andrew Lee | 331f457 | 2014-06-09 16:22:46 -0700 | [diff] [blame] | 37 | <item name="list_item_padding_right">32dp</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 38 | <item name="list_item_padding_bottom">12dp</item> |
Andrew Lee | 41697ad | 2014-06-09 14:04:15 -0700 | [diff] [blame] | 39 | <item name="list_item_padding_left">16dp</item> |
Nancy Chen | a26e52e | 2014-08-15 12:30:03 -0700 | [diff] [blame] | 40 | <item name="list_item_gap_between_image_and_text"> |
| 41 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 42 | </item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 43 | <item name="list_item_gap_between_label_and_data">5dip</item> |
| 44 | <item name="list_item_presence_icon_margin">4dip</item> |
| 45 | <item name="list_item_presence_icon_size">16dip</item> |
| 46 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 47 | <item name="list_item_profile_photo_size">70dip</item> |
| 48 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
Andrew Lee | d1980e2 | 2014-04-25 16:32:27 -0700 | [diff] [blame] | 49 | <item name="list_item_background_color">@color/background_dialer_light</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 50 | <item name="list_item_header_text_indent">8dip</item> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 51 | <item name="list_item_header_text_color">@color/dialtacts_secondary_text_color</item> |
Yorke Lee | aceb88b | 2013-10-14 17:18:01 -0700 | [diff] [blame] | 52 | <item name="list_item_header_text_size">14sp</item> |
| 53 | <item name="list_item_header_height">30dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 54 | <item name="list_item_data_width_weight">5</item> |
| 55 | <item name="list_item_label_width_weight">3</item> |
Andrew Lee | 41697ad | 2014-06-09 14:04:15 -0700 | [diff] [blame] | 56 | <item name="contact_browser_list_padding_left">0dp</item> |
Andrew Lee | ff72cf3 | 2014-05-12 17:00:49 -0700 | [diff] [blame] | 57 | <item name="contact_browser_list_padding_right">0dp</item> |
Nancy Chen | 0e6d7b0 | 2014-08-06 10:37:28 -0700 | [diff] [blame] | 58 | <item name="contact_browser_background">@color/background_dialer_results</item> |
Nancy Chen | 70944b4 | 2014-05-23 10:51:04 -0700 | [diff] [blame] | 59 | <item name="list_item_name_text_color">@color/contact_list_name_text_color</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 60 | <item name="list_item_name_text_size">16sp</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 61 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 62 | <item name="list_item_text_offset_top">-2dp</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 63 | <!-- CallLog --> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 64 | <item name="call_log_primary_text_color">@color/dialtacts_primary_text_color</item> |
Nancy Chen | 1844ca0 | 2014-07-28 18:12:50 -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> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 76 | <item name="android:colorPrimary">@color/dialer_theme_color</item> |
| 77 | <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> |
Andrew Lee | b5954d3 | 2014-05-28 18:00:47 -0700 | [diff] [blame] | 78 | <item name="dialpad_key_button_touch_tint">@color/dialer_dialpad_touch_tint</item> |
Yorke Lee | e09b67d | 2014-09-03 09:57:53 -0700 | [diff] [blame] | 79 | <item name="android:colorControlActivated">@color/dialer_theme_color</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 80 | </style> |
| 81 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 82 | <!-- Action bar overflow menu icon. --> |
| 83 | <style name="DialtactsActionBarOverflow" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 84 | parent="@android:style/Widget.Material.Light.ActionButton.Overflow"> |
Nancy Chen | 0526766 | 2014-07-24 17:02:44 -0700 | [diff] [blame] | 85 | <item name="android:src">@drawable/ic_overflow_menu</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 86 | </style> |
| 87 | |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 88 | <!-- Action bar overflow menu icon. White with no shadow. --> |
| 89 | <style name="DialtactsActionBarOverflowWhite" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 90 | parent="@android:style/Widget.Material.Light.ActionButton.Overflow"> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 91 | <item name="android:src">@drawable/overflow_menu</item> |
| 92 | </style> |
| 93 | |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 94 | <style name="DialpadTheme" parent="DialtactsTheme"> |
| 95 | <item name="android:textColorPrimary">#FFFFFF</item> |
| 96 | </style> |
| 97 | |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 98 | <style name="DialtactsThemeWithoutActionBarOverlay" parent="DialtactsTheme"> |
| 99 | <item name="android:windowActionBarOverlay">false</item> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 100 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> |
Yorke Lee | d89b25d | 2013-09-10 10:13:04 -0700 | [diff] [blame] | 101 | </style> |
| 102 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 103 | <!-- Hide the actionbar title during the activity preview --> |
| 104 | <style name="DialtactsActivityTheme" parent="DialtactsTheme"> |
| 105 | <item name="android:actionBarStyle">@style/DialtactsActionBarWithoutTitleStyle</item> |
Nancy Chen | 3353317 | 2014-09-11 15:05:09 -0700 | [diff] [blame] | 106 | <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 107 | </style> |
| 108 | |
Yorke Lee | c6d053c | 2014-05-30 14:00:48 -0700 | [diff] [blame] | 109 | <style name="CallDetailActivityTheme" parent="DialtactsThemeWithoutActionBarOverlay"> |
Nancy Chen | c824550 | 2014-07-29 11:39:28 -0700 | [diff] [blame] | 110 | <item name="android:windowBackground">@color/background_dialer_results</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 111 | <!-- CallLog --> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 112 | <item name="call_log_primary_background_color">#FFFFFF</item> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 113 | <item name="call_log_secondary_background_color">#FFFFFF</item> |
| 114 | <item name="call_log_header_color">#FFFFFF</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 115 | <!-- VoicemailStatus --> |
| 116 | <item name="call_log_voicemail_status_height">48dip</item> |
| 117 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 118 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 119 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 120 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 121 | </style> |
| 122 | |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 123 | <style name="DialtactsActionBarStyle" parent="android:Widget.Material.ActionBar"> |
Andrew Lee | 32e7495 | 2014-04-15 16:12:41 -0700 | [diff] [blame] | 124 | <item name="android:background">@color/actionbar_background_color</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 125 | <item name="android:titleTextStyle">@style/DialtactsActionBarTitleText</item> |
Yorke Lee | 3443d4a | 2014-05-23 19:30:35 -0700 | [diff] [blame] | 126 | <item name="android:height">@dimen/action_bar_height</item> |
Nancy Chen | 9c09323 | 2014-09-10 16:08:21 -0700 | [diff] [blame] | 127 | <item name="android:elevation">@dimen/action_bar_elevation</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 128 | <!-- Empty icon --> |
| 129 | <item name="android:icon">@android:color/transparent</item> |
Nancy Chen | 5d5b604 | 2014-07-28 16:34:59 -0700 | [diff] [blame] | 130 | <!-- Shift the title text to the right --> |
| 131 | <item name="android:contentInsetStart">@dimen/actionbar_contentInsetStart</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 132 | </style> |
| 133 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 134 | <style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle"> |
| 135 | <item name="android:displayOptions"></item> |
Nancy Chen | b8170de | 2014-07-28 10:41:08 -0700 | [diff] [blame] | 136 | <item name="android:height">@dimen/action_bar_height_large</item> |
Nancy Chen | 5d5b604 | 2014-07-28 16:34:59 -0700 | [diff] [blame] | 137 | <!-- Override ActionBar title offset to keep search box aligned left --> |
Andrew Lee | 48da460 | 2014-12-02 16:10:08 -0800 | [diff] [blame] | 138 | <item name="android:contentInsetStart">0dp</item> |
| 139 | <item name="android:contentInsetEnd">0dp</item> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 140 | </style> |
| 141 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 142 | <!-- Text in the action bar at the top of the screen --> |
| 143 | <style name="DialtactsActionBarTitleText" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 144 | parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 145 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 146 | </style> |
| 147 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 148 | <!-- Text style for tabs. --> |
| 149 | <style name="DialtactsActionBarTabTextStyle" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 150 | parent="android:style/Widget.Material.Light.ActionBar.TabText"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 151 | <item name="android:textColor">@color/tab_text_color</item> |
| 152 | <item name="android:textSize">@dimen/tab_text_size</item> |
Andrew Lee | b2687dd | 2014-06-06 14:13:21 -0700 | [diff] [blame] | 153 | <item name="android:fontFamily">"sans-serif-medium"</item> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 154 | </style> |
| 155 | |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 156 | <style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView"> |
Chiao Cheng | e09d5ff | 2012-10-15 15:11:43 -0700 | [diff] [blame] | 157 | <item name="android:overScrollMode">always</item> |
| 158 | </style> |
| 159 | |
Christine Chen | 1f06f0a | 2013-10-03 14:59:11 -0700 | [diff] [blame] | 160 | <style name="DismissButtonStyle"> |
| 161 | <item name="android:paddingLeft">@dimen/dismiss_button_padding_start</item> |
| 162 | <item name="android:paddingRight">@dimen/dismiss_button_padding_end</item> |
| 163 | </style> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 164 | |
| 165 | <!-- Style applied to the "Settings" screen. Keep in sync with SettingsLight in Telephony. --> |
| 166 | <style name="SettingsStyle" parent="DialtactsThemeWithoutActionBarOverlay"> |
| 167 | <!-- Setting text. --> |
Yorke Lee | 3cd4d87 | 2014-09-17 14:59:19 -0700 | [diff] [blame] | 168 | <item name="android:textColor">@color/setting_primary_color</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 169 | <!-- Setting description. --> |
Yorke Lee | 3cd4d87 | 2014-09-17 14:59:19 -0700 | [diff] [blame] | 170 | <item name="android:textColorSecondary">@color/setting_secondary_color</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 171 | <item name="android:windowBackground">@color/setting_background_color</item> |
Andrew Lee | a675194 | 2014-08-20 15:02:57 -0700 | [diff] [blame] | 172 | <item name="android:colorAccent">@color/dialtacts_theme_color</item> |
| 173 | <item name="android:textColorLink">@color/dialtacts_theme_color</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 174 | </style> |
Brian Attwell | 558ee74 | 2014-08-21 11:36:55 -0700 | [diff] [blame] | 175 | |
| 176 | <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert |
| 177 | since the Alert dialog is private. They are identical anyway. --> |
| 178 | <style name="AlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog"> |
| 179 | <item name="android:colorAccent">@color/dialtacts_theme_color</item> |
| 180 | </style> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 181 | </resources> |