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> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 18 | <style name="DialtactsTheme" parent="Theme.AppCompat.Light"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 19 | <item name="android:textColorPrimary">@color/dialtacts_primary_text_color</item> |
| 20 | <item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 21 | |
| 22 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 23 | <item name="android:windowActionBarOverlay">true</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 24 | <item name="windowActionBarOverlay">true</item> |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 25 | <item name="android:windowActionModeOverlay">true</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 26 | <item name="windowActionModeOverlay">true</item> |
Yorke Lee | fb64bfa | 2013-09-09 18:05:36 -0700 | [diff] [blame] | 27 | <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 28 | <item name="actionBarStyle">@style/DialtactsActionBarStyle</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 29 | <!-- Style for the overflow button in the actionbar. --> |
| 30 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 31 | <item name="actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item> |
| 32 | |
Yorke Lee | 6c027d8 | 2014-05-27 10:08:20 -0700 | [diff] [blame] | 33 | <!-- Drawable for the back button --> |
| 34 | <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 35 | <item name="android:windowContentOverlay">@null</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 36 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Yorke Lee | 74edcdc | 2014-07-11 16:15:08 -0700 | [diff] [blame] | 37 | <item name="android:overlapAnchor">true</item> |
Brian Attwell | 558ee74 | 2014-08-21 11:36:55 -0700 | [diff] [blame] | 38 | <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 39 | <item name="activated_background">@drawable/list_item_activated_background</item> |
| 40 | <item name="section_header_background">@drawable/list_title_holo</item> |
| 41 | <item name="list_section_header_height">32dip</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 42 | <item name="list_item_padding_top">12dp</item> |
Tyler Gunn | b31f5d1 | 2015-12-18 13:57:37 -0800 | [diff] [blame] | 43 | <item name="list_item_padding_right">24dp</item> |
Andrew Lee | 58c4116 | 2014-05-29 16:23:04 -0700 | [diff] [blame] | 44 | <item name="list_item_padding_bottom">12dp</item> |
Andrew Lee | 41697ad | 2014-06-09 14:04:15 -0700 | [diff] [blame] | 45 | <item name="list_item_padding_left">16dp</item> |
Nancy Chen | a26e52e | 2014-08-15 12:30:03 -0700 | [diff] [blame] | 46 | <item name="list_item_gap_between_image_and_text"> |
| 47 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 48 | </item> |
Tyler Gunn | b31f5d1 | 2015-12-18 13:57:37 -0800 | [diff] [blame] | 49 | <item name="list_item_gap_between_label_and_data">8dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 50 | <item name="list_item_presence_icon_margin">4dip</item> |
| 51 | <item name="list_item_presence_icon_size">16dip</item> |
| 52 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 53 | <item name="list_item_profile_photo_size">70dip</item> |
| 54 | <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] | 55 | <item name="list_item_background_color">@color/background_dialer_light</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 56 | <item name="list_item_header_text_indent">8dip</item> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 57 | <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] | 58 | <item name="list_item_header_text_size">14sp</item> |
| 59 | <item name="list_item_header_height">30dip</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 60 | <item name="list_item_data_width_weight">5</item> |
| 61 | <item name="list_item_label_width_weight">3</item> |
Andrew Lee | 41697ad | 2014-06-09 14:04:15 -0700 | [diff] [blame] | 62 | <item name="contact_browser_list_padding_left">0dp</item> |
Andrew Lee | ff72cf3 | 2014-05-12 17:00:49 -0700 | [diff] [blame] | 63 | <item name="contact_browser_list_padding_right">0dp</item> |
Nancy Chen | 0e6d7b0 | 2014-08-06 10:37:28 -0700 | [diff] [blame] | 64 | <item name="contact_browser_background">@color/background_dialer_results</item> |
Nancy Chen | 70944b4 | 2014-05-23 10:51:04 -0700 | [diff] [blame] | 65 | <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] | 66 | <item name="list_item_name_text_size">16sp</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 67 | <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] | 68 | <item name="list_item_text_offset_top">-2dp</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 69 | <!-- CallLog --> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 70 | <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] | 71 | <item name="call_log_primary_background_color">#000000</item> |
Chiao Cheng | 037bbac | 2013-11-13 14:55:45 -0800 | [diff] [blame] | 72 | <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] | 73 | <item name="call_log_secondary_background_color">#333333</item> |
| 74 | <item name="call_log_header_color">#33b5e5</item> |
| 75 | <!-- VoicemailStatus --> |
| 76 | <item name="call_log_voicemail_status_height">48dip</item> |
| 77 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 78 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 79 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
| 80 | <!-- Favorites --> |
| 81 | <item name="favorites_padding_bottom">?android:attr/actionBarSize</item> |
Nancy Chen | f35d716 | 2014-07-23 18:45:15 -0700 | [diff] [blame] | 82 | <item name="android:colorPrimary">@color/dialer_theme_color</item> |
| 83 | <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> |
Andrew Lee | b5954d3 | 2014-05-28 18:00:47 -0700 | [diff] [blame] | 84 | <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] | 85 | <item name="android:colorControlActivated">@color/dialer_theme_color</item> |
Andrew Lee | 71b91f9 | 2015-10-01 07:43:26 -0700 | [diff] [blame] | 86 | <item name="android:colorButtonNormal">@color/dialer_theme_color</item> |
| 87 | <item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item> |
Tyler Gunn | b31f5d1 | 2015-12-18 13:57:37 -0800 | [diff] [blame] | 88 | |
| 89 | <!-- Video call icon --> |
| 90 | <item name="list_item_video_call_icon_size">32dip</item> |
| 91 | <item name="list_item_video_call_icon_margin">8dip</item> |
Andrew Lee | 71b91f9 | 2015-10-01 07:43:26 -0700 | [diff] [blame] | 92 | </style> |
| 93 | |
| 94 | <style name="DialerButtonTextStyle" parent="@android:style/TextAppearance.Material.Widget.Button"> |
| 95 | <item name="android:textColor">#fff</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 96 | </style> |
| 97 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 98 | <!-- Action bar overflow menu icon. --> |
| 99 | <style name="DialtactsActionBarOverflow" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 100 | parent="@android:style/Widget.Material.Light.ActionButton.Overflow"> |
Nancy Chen | 0526766 | 2014-07-24 17:02:44 -0700 | [diff] [blame] | 101 | <item name="android:src">@drawable/ic_overflow_menu</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 102 | </style> |
| 103 | |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 104 | <!-- Action bar overflow menu icon. White with no shadow. --> |
| 105 | <style name="DialtactsActionBarOverflowWhite" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 106 | parent="@android:style/Widget.Material.Light.ActionButton.Overflow"> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 107 | <item name="android:src">@drawable/overflow_menu</item> |
| 108 | </style> |
| 109 | |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 110 | <style name="DialpadTheme" parent="DialtactsTheme"> |
| 111 | <item name="android:textColorPrimary">#FFFFFF</item> |
| 112 | </style> |
| 113 | |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 114 | <style name="DialtactsThemeWithoutActionBarOverlay" parent="DialtactsTheme"> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 115 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 116 | <item name="android:windowActionBarOverlay">false</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 117 | <item name="windowActionBarOverlay">false</item> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 118 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 119 | <item name="actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> |
Yorke Lee | d89b25d | 2013-09-10 10:13:04 -0700 | [diff] [blame] | 120 | </style> |
| 121 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 122 | <!-- Hide the actionbar title during the activity preview --> |
| 123 | <style name="DialtactsActivityTheme" parent="DialtactsTheme"> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 124 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 125 | <item name="android:actionBarStyle">@style/DialtactsActionBarWithoutTitleStyle</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 126 | <item name="actionBarStyle">@style/DialtactsActionBarWithoutTitleStyle</item> |
| 127 | |
Nancy Chen | 3353317 | 2014-09-11 15:05:09 -0700 | [diff] [blame] | 128 | <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> |
Andrew Lee | 69df004 | 2015-01-07 14:31:47 -0800 | [diff] [blame] | 129 | <item name="android:fastScrollTrackDrawable">@null</item> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 130 | </style> |
| 131 | |
Yorke Lee | c6d053c | 2014-05-30 14:00:48 -0700 | [diff] [blame] | 132 | <style name="CallDetailActivityTheme" parent="DialtactsThemeWithoutActionBarOverlay"> |
Nancy Chen | c824550 | 2014-07-29 11:39:28 -0700 | [diff] [blame] | 133 | <item name="android:windowBackground">@color/background_dialer_results</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 134 | <!-- CallLog --> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 135 | <item name="call_log_primary_background_color">#FFFFFF</item> |
Yorke Lee | aa536fd | 2013-07-29 11:31:04 -0700 | [diff] [blame] | 136 | <item name="call_log_secondary_background_color">#FFFFFF</item> |
| 137 | <item name="call_log_header_color">#FFFFFF</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 138 | <!-- VoicemailStatus --> |
| 139 | <item name="call_log_voicemail_status_height">48dip</item> |
| 140 | <item name="call_log_voicemail_status_background_color">#262626</item> |
| 141 | <item name="call_log_voicemail_status_text_color">#888888</item> |
| 142 | <item name="call_log_voicemail_status_action_text_color">#33b5e5</item> |
Tyler Gunn | 7ebb3c2 | 2014-06-03 15:33:11 -0700 | [diff] [blame] | 143 | <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 144 | </style> |
| 145 | |
Andrew Lee | bf9cca2 | 2015-10-05 13:43:54 -0700 | [diff] [blame] | 146 | <style name="CallDetailActionItemStyle"> |
| 147 | <item name="android:foreground">?android:attr/selectableItemBackground</item> |
| 148 | <item name="android:clickable">true</item> |
Andrew Lee | f549abc | 2015-10-12 12:50:55 -0700 | [diff] [blame] | 149 | <item name="android:drawablePadding">@dimen/call_detail_action_item_drawable_padding</item> |
| 150 | <item name="android:gravity">center_vertical</item> |
Andrew Lee | bf9cca2 | 2015-10-05 13:43:54 -0700 | [diff] [blame] | 151 | <item name="android:paddingStart">@dimen/call_detail_action_item_padding_horizontal</item> |
| 152 | <item name="android:paddingEnd">@dimen/call_detail_action_item_padding_horizontal</item> |
| 153 | <item name="android:paddingTop">@dimen/call_detail_action_item_padding_vertical</item> |
| 154 | <item name="android:paddingBottom">@dimen/call_detail_action_item_padding_vertical</item> |
Andrew Lee | f549abc | 2015-10-12 12:50:55 -0700 | [diff] [blame] | 155 | <item name="android:textColor">@color/call_detail_footer_text_color</item> |
| 156 | <item name="android:textSize">@dimen/call_detail_action_item_text_size</item> |
Andrew Lee | bf9cca2 | 2015-10-05 13:43:54 -0700 | [diff] [blame] | 157 | </style> |
| 158 | |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 159 | <style name="DialtactsActionBarStyle" |
| 160 | parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"> |
| 161 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Andrew Lee | 32e7495 | 2014-04-15 16:12:41 -0700 | [diff] [blame] | 162 | <item name="android:background">@color/actionbar_background_color</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 163 | <item name="background">@color/actionbar_background_color</item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 164 | <item name="android:titleTextStyle">@style/DialtactsActionBarTitleText</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 165 | <item name="titleTextStyle">@style/DialtactsActionBarTitleText</item> |
Yorke Lee | 3443d4a | 2014-05-23 19:30:35 -0700 | [diff] [blame] | 166 | <item name="android:height">@dimen/action_bar_height</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 167 | <item name="height">@dimen/action_bar_height</item> |
Nancy Chen | 9c09323 | 2014-09-10 16:08:21 -0700 | [diff] [blame] | 168 | <item name="android:elevation">@dimen/action_bar_elevation</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 169 | <item name="elevation">@dimen/action_bar_elevation</item> |
Yorke Lee | d999932 | 2013-07-19 09:22:03 -0700 | [diff] [blame] | 170 | <!-- Empty icon --> |
| 171 | <item name="android:icon">@android:color/transparent</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 172 | <item name="icon">@android:color/transparent</item> |
Nancy Chen | 5d5b604 | 2014-07-28 16:34:59 -0700 | [diff] [blame] | 173 | <!-- Shift the title text to the right --> |
| 174 | <item name="android:contentInsetStart">@dimen/actionbar_contentInsetStart</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 175 | <item name="contentInsetStart">@dimen/actionbar_contentInsetStart</item> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 176 | </style> |
| 177 | |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 178 | <style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle"> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 179 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 180 | <item name="android:displayOptions"></item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 181 | <item name="displayOptions"></item> |
Nancy Chen | b8170de | 2014-07-28 10:41:08 -0700 | [diff] [blame] | 182 | <item name="android:height">@dimen/action_bar_height_large</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 183 | <item name="height">@dimen/action_bar_height_large</item> |
Nancy Chen | 5d5b604 | 2014-07-28 16:34:59 -0700 | [diff] [blame] | 184 | <!-- Override ActionBar title offset to keep search box aligned left --> |
Andrew Lee | 48da460 | 2014-12-02 16:10:08 -0800 | [diff] [blame] | 185 | <item name="android:contentInsetStart">0dp</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 186 | <item name="contentInsetStart">0dp</item> |
Andrew Lee | 48da460 | 2014-12-02 16:10:08 -0800 | [diff] [blame] | 187 | <item name="android:contentInsetEnd">0dp</item> |
Nancy Chen | 44898ad | 2015-08-13 12:03:47 -0700 | [diff] [blame] | 188 | <item name="contentInsetEnd">0dp</item> |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 189 | </style> |
| 190 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 191 | <!-- Text in the action bar at the top of the screen --> |
| 192 | <style name="DialtactsActionBarTitleText" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 193 | parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 194 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 195 | </style> |
| 196 | |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 197 | <!-- Text style for tabs. --> |
| 198 | <style name="DialtactsActionBarTabTextStyle" |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 199 | parent="android:style/Widget.Material.Light.ActionBar.TabText"> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame] | 200 | <item name="android:textColor">@color/tab_text_color</item> |
| 201 | <item name="android:textSize">@dimen/tab_text_size</item> |
Andrew Lee | b2687dd | 2014-06-06 14:13:21 -0700 | [diff] [blame] | 202 | <item name="android:fontFamily">"sans-serif-medium"</item> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 203 | </style> |
| 204 | |
Alan Viverette | aa3350f | 2014-06-06 15:28:11 -0700 | [diff] [blame] | 205 | <style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView"> |
Chiao Cheng | e09d5ff | 2012-10-15 15:11:43 -0700 | [diff] [blame] | 206 | <item name="android:overScrollMode">always</item> |
| 207 | </style> |
| 208 | |
Andrew Lee | 51c2bde | 2015-05-06 14:36:50 -0700 | [diff] [blame] | 209 | <style name="CallLogActionStyle"> |
Andrew Lee | c1b7d0a | 2015-04-15 17:23:27 -0700 | [diff] [blame] | 210 | <item name="android:layout_width">match_parent</item> |
| 211 | <item name="android:layout_height">@dimen/call_log_action_height</item> |
Andrew Lee | c5bfcb4 | 2015-06-24 16:23:06 -0700 | [diff] [blame] | 212 | <item name="android:background">?android:attr/selectableItemBackground</item> |
Andrew Lee | 51c2bde | 2015-05-06 14:36:50 -0700 | [diff] [blame] | 213 | <item name="android:orientation">horizontal</item> |
| 214 | <item name="android:gravity">center_vertical</item> |
| 215 | </style> |
| 216 | |
| 217 | <style name="CallLogActionTextStyle"> |
| 218 | <item name="android:layout_width">match_parent</item> |
| 219 | <item name="android:layout_height">wrap_content</item> |
Andrew Lee | c1b7d0a | 2015-04-15 17:23:27 -0700 | [diff] [blame] | 220 | <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item> |
| 221 | <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item> |
Brandon Maxwell | a482522 | 2015-10-12 12:09:12 -0700 | [diff] [blame] | 222 | <item name="android:textColor">@color/call_log_action_color</item> |
| 223 | <item name="android:textSize">@dimen/call_log_primary_text_size</item> |
| 224 | <item name="android:fontFamily">"sans-serif"</item> |
Andrew Lee | c1b7d0a | 2015-04-15 17:23:27 -0700 | [diff] [blame] | 225 | <item name="android:focusable">true</item> |
| 226 | <item name="android:singleLine">true</item> |
Andrew Lee | 0451f9a | 2015-05-08 12:00:52 -0700 | [diff] [blame] | 227 | <item name="android:importantForAccessibility">no</item> |
Andrew Lee | c1b7d0a | 2015-04-15 17:23:27 -0700 | [diff] [blame] | 228 | </style> |
| 229 | |
Brandon Maxwell | a482522 | 2015-10-12 12:09:12 -0700 | [diff] [blame] | 230 | <style name="CallLogActionSupportTextStyle" parent="@style/CallLogActionTextStyle"> |
| 231 | <item name="android:textSize">@dimen/call_log_detail_text_size</item> |
| 232 | <item name="android:textColor">@color/call_log_detail_color</item> |
| 233 | </style> |
| 234 | |
Andrew Lee | 51c2bde | 2015-05-06 14:36:50 -0700 | [diff] [blame] | 235 | <style name="CallLogActionIconStyle"> |
| 236 | <item name="android:layout_width">@dimen/call_log_action_icon_dimen</item> |
| 237 | <item name="android:layout_height">@dimen/call_log_action_icon_dimen</item> |
| 238 | <item name="android:layout_marginStart">@dimen/call_log_action_icon_margin_start</item> |
| 239 | <item name="android:tint">?attr/call_log_secondary_text_color</item> |
| 240 | <item name="android:importantForAccessibility">no</item> |
| 241 | </style> |
| 242 | |
Christine Chen | 1f06f0a | 2013-10-03 14:59:11 -0700 | [diff] [blame] | 243 | <style name="DismissButtonStyle"> |
| 244 | <item name="android:paddingLeft">@dimen/dismiss_button_padding_start</item> |
| 245 | <item name="android:paddingRight">@dimen/dismiss_button_padding_end</item> |
| 246 | </style> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 247 | |
| 248 | <!-- Style applied to the "Settings" screen. Keep in sync with SettingsLight in Telephony. --> |
| 249 | <style name="SettingsStyle" parent="DialtactsThemeWithoutActionBarOverlay"> |
| 250 | <!-- Setting text. --> |
Tyler Gunn | 9f18fc1 | 2015-02-05 15:46:49 -0800 | [diff] [blame] | 251 | <item name="android:textColorPrimary">@color/settings_text_color_primary</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 252 | <!-- Setting description. --> |
Tyler Gunn | 9f18fc1 | 2015-02-05 15:46:49 -0800 | [diff] [blame] | 253 | <item name="android:textColorSecondary">@color/settings_text_color_secondary</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 254 | <item name="android:windowBackground">@color/setting_background_color</item> |
Andrew Lee | a675194 | 2014-08-20 15:02:57 -0700 | [diff] [blame] | 255 | <item name="android:colorAccent">@color/dialtacts_theme_color</item> |
| 256 | <item name="android:textColorLink">@color/dialtacts_theme_color</item> |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 257 | </style> |
Brian Attwell | 558ee74 | 2014-08-21 11:36:55 -0700 | [diff] [blame] | 258 | |
Andrew Lee | 3663afe | 2015-10-04 01:31:28 -0700 | [diff] [blame] | 259 | <style name="ManageBlockedNumbersStyle" parent="SettingsStyle"> |
| 260 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 261 | <item name="android:windowActionBarOverlay">true</item> |
| 262 | <item name="windowActionBarOverlay">true</item> |
| 263 | <item name="android:actionBarStyle">@style/ManageBlockedNumbersActionBarStyle</item> |
| 264 | <item name="actionBarStyle">@style/ManageBlockedNumbersActionBarStyle</item> |
| 265 | <item name="android:fastScrollTrackDrawable">@null</item> |
| 266 | </style> |
| 267 | |
| 268 | <style name="ManageBlockedNumbersActionBarStyle" parent="DialtactsActionBarWithoutTitleStyle"> |
| 269 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 270 | <item name="android:height">@dimen/action_bar_height</item> |
| 271 | <item name="height">@dimen/action_bar_height</item> |
| 272 | </style> |
| 273 | |
Brian Attwell | 558ee74 | 2014-08-21 11:36:55 -0700 | [diff] [blame] | 274 | <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert |
| 275 | since the Alert dialog is private. They are identical anyway. --> |
| 276 | <style name="AlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog"> |
| 277 | <item name="android:colorAccent">@color/dialtacts_theme_color</item> |
| 278 | </style> |
Tyler Gunn | 9afa723 | 2015-04-21 10:17:41 -0700 | [diff] [blame] | 279 | |
| 280 | <style name="CallLogCardStyle" parent="CardView"> |
| 281 | <item name="android:layout_width">match_parent</item> |
| 282 | <item name="android:layout_height">wrap_content</item> |
| 283 | <item name="android:layout_margin">4dp</item> |
| 284 | <item name="android:baselineAligned">false</item> |
Andrew Lee | 69705be | 2015-05-04 17:24:01 -0700 | [diff] [blame] | 285 | <item name="cardCornerRadius">2dp</item> |
Tyler Gunn | 9afa723 | 2015-04-21 10:17:41 -0700 | [diff] [blame] | 286 | <item name="cardBackgroundColor">@color/background_dialer_call_log_list_item</item> |
| 287 | </style> |
Nancy Chen | bdd2bc2 | 2015-06-22 21:45:03 -0700 | [diff] [blame] | 288 | |
Yorke Lee | 38019af | 2015-07-14 17:05:38 -0700 | [diff] [blame] | 289 | <style name="TextActionStyle"> |
Nancy Chen | bdd2bc2 | 2015-06-22 21:45:03 -0700 | [diff] [blame] | 290 | <item name="android:layout_width">wrap_content</item> |
| 291 | <item name="android:layout_height">@dimen/call_log_action_height</item> |
| 292 | <item name="android:gravity">end|center_vertical</item> |
| 293 | <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item> |
| 294 | <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item> |
Yorke Lee | 38019af | 2015-07-14 17:05:38 -0700 | [diff] [blame] | 295 | <item name="android:textColor">@color/dialtacts_theme_color</item> |
Nancy Chen | bdd2bc2 | 2015-06-22 21:45:03 -0700 | [diff] [blame] | 296 | <item name="android:fontFamily">"sans-serif-medium"</item> |
| 297 | <item name="android:focusable">true</item> |
| 298 | <item name="android:singleLine">true</item> |
| 299 | <item name="android:textAllCaps">true</item> |
| 300 | </style> |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 301 | |
Yorke Lee | 38019af | 2015-07-14 17:05:38 -0700 | [diff] [blame] | 302 | <style name="PromoCardActionStyle" parent="TextActionStyle"> |
| 303 | <item name="android:textColor">@color/promo_card_text</item> |
Brandon Maxwell | a482522 | 2015-10-12 12:09:12 -0700 | [diff] [blame] | 304 | <item name="android:textSize">@dimen/call_log_primary_text_size</item> |
Yorke Lee | 38019af | 2015-07-14 17:05:38 -0700 | [diff] [blame] | 305 | </style> |
| 306 | |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 307 | <style name="VoicemailPlaybackLayoutTextStyle"> |
| 308 | <item name="android:textSize">14sp</item> |
| 309 | </style> |
| 310 | |
| 311 | <style name="VoicemailPlaybackLayoutButtonStyle"> |
| 312 | <item name="android:layout_width">56dp</item> |
| 313 | <item name="android:layout_height">56dp</item> |
| 314 | <item name="android:background">@drawable/oval_ripple</item> |
| 315 | <item name="android:padding">8dp</item> |
| 316 | </style> |
Andrew Lee | 71b91f9 | 2015-10-01 07:43:26 -0700 | [diff] [blame] | 317 | |
| 318 | <style name="DialerFlatButtonStyle" parent="@android:style/Widget.Material.Button"> |
| 319 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 320 | <item name="android:paddingEnd">@dimen/button_horizontal_padding</item> |
| 321 | <item name="android:paddingStart">@dimen/button_horizontal_padding</item> |
| 322 | <item name="android:textColor">@color/dialer_flat_button_text_color</item> |
| 323 | </style> |
Andrew Lee | b980fc4 | 2015-10-19 23:57:25 -0700 | [diff] [blame] | 324 | |
Brandon Maxwell | b5a6f72 | 2016-04-14 10:59:55 -0700 | [diff] [blame] | 325 | <!-- Style for the 'primary' button in a view. Unlike the DialerFlatButtonStyle, this button --> |
| 326 | <!-- is not colored white, to draw more attention to it. --> |
| 327 | <style name="DialerPrimaryFlatButtonStyle" parent="@android:style/Widget.Material.Button"> |
| 328 | <item name="android:background">@drawable/selectable_primary_flat_button</item> |
| 329 | <item name="android:paddingEnd">@dimen/button_horizontal_padding</item> |
| 330 | <item name="android:paddingStart">@dimen/button_horizontal_padding</item> |
| 331 | <item name="android:textColor">@android:color/white</item> |
| 332 | </style> |
| 333 | |
Andrew Lee | b980fc4 | 2015-10-19 23:57:25 -0700 | [diff] [blame] | 334 | <style name="BlockedNumbersDescriptionTextStyle"> |
Ta-wei Yen | 03fd6dc | 2015-11-11 11:21:50 -0800 | [diff] [blame] | 335 | <item name="android:lineSpacingMultiplier">1.43</item> |
Andrew Lee | b980fc4 | 2015-10-19 23:57:25 -0700 | [diff] [blame] | 336 | <item name="android:paddingTop">8dp</item> |
| 337 | <item name="android:paddingBottom">8dp</item> |
| 338 | <item name="android:textSize">@dimen/blocked_number_settings_description_text_size</item> |
| 339 | </style> |
Brandon Maxwell | b5a6f72 | 2016-04-14 10:59:55 -0700 | [diff] [blame] | 340 | |
| 341 | <style name="FullWidthDivider"> |
| 342 | <item name="android:layout_width">match_parent</item> |
| 343 | <item name="android:layout_height">1dp</item> |
| 344 | <item name="android:background">?android:attr/listDivider</item> |
| 345 | </style> |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 346 | </resources> |