The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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 |
Nicolas Catania | 177d88f | 2009-09-27 15:15:05 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Nicolas Catania | 177d88f | 2009-09-27 15:15:05 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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 | --> |
Wenyi Wang | 2829deb | 2017-01-04 14:05:13 -0800 | [diff] [blame] | 16 | <resources xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | xmlns:tools="http://schemas.android.com/tools"> |
Flavio Lerda | e00060f | 2011-07-04 18:59:55 +0100 | [diff] [blame] | 18 | |
Gary Mai | c40f3e9 | 2016-12-20 18:22:54 -0800 | [diff] [blame] | 19 | <style name="EditorActivityTheme" parent="@style/PeopleActivityTheme"> |
| 20 | <item name="actionBarStyle">@style/EditorActionBarStyle</item> |
| 21 | <item name="colorButtonNormal">@color/background_primary</item> |
| 22 | <item name="windowActionModeOverlay">true</item> |
Romain Guy | 8de29a3 | 2009-03-24 18:08:41 -0700 | [diff] [blame] | 23 | </style> |
| 24 | |
Brian Attwell | b7e4364 | 2014-06-02 14:33:04 -0700 | [diff] [blame] | 25 | <style name="Theme.QuickContact" parent="@style/PeopleTheme"> |
| 26 | <item name="android:windowBackground">@android:color/transparent</item> |
| 27 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 28 | <item name="android:windowFrame">@null</item> |
| 29 | <item name="android:windowContentOverlay">@null</item> |
| 30 | <item name="android:windowAnimationStyle">@null</item> |
| 31 | <item name="android:windowIsFloating">false</item> |
| 32 | <item name="android:windowIsTranslucent">true</item> |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 33 | <item name="android:windowNoTitle">true</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 34 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Brian Attwell | ed6cda6 | 2014-06-26 17:13:14 -0700 | [diff] [blame] | 35 | <!-- We need to use a light ripple behind ActionBar items in order for them to |
| 36 | be visible when using some of the darker ActionBar tints --> |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 37 | <item name="android:actionBarItemBackground"> |
| 38 | @drawable/item_background_material_borderless_dark |
| 39 | </item> |
Dianne Hackborn | 5112c12 | 2009-09-18 15:52:54 -0700 | [diff] [blame] | 40 | </style> |
| 41 | |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 42 | <style name="PeopleTheme" parent="@android:style/Theme.Material.Light.DarkActionBar"> |
Isaac Katzenelson | 5efbc3e | 2011-07-22 14:15:31 -0700 | [diff] [blame] | 43 | <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 44 | <!-- Style for the overflow button in the actionbar. --> |
| 45 | <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 46 | <item name="android:actionModeCloseDrawable">@drawable/quantum_ic_close_vd_theme_24</item> |
Brian Attwell | 15c43d9 | 2014-05-19 21:14:36 +0000 | [diff] [blame] | 47 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 48 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 49 | <item name="android:icon">@android:color/transparent</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 50 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Andrew Lee | 4b1af3f | 2014-04-23 10:23:55 -0700 | [diff] [blame] | 51 | <item name="android:windowBackground">@color/background_primary</item> |
Marko Man | 5c506c4 | 2019-10-11 19:07:26 +0200 | [diff] [blame] | 52 | <item name="android:colorPrimaryDark">@color/primary_color</item> |
Brian Attwell | 77329c8 | 2014-08-06 22:10:12 -0700 | [diff] [blame] | 53 | <item name="android:colorPrimary">@color/primary_color</item> |
Brian Attwell | 5109186 | 2014-08-20 15:40:17 -0700 | [diff] [blame] | 54 | <item name="android:colorAccent">@color/primary_color</item> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 55 | <item name="android:alertDialogTheme">@style/ContactsAlertDialogTheme</item> |
Wenyi Wang | 1114fde | 2016-07-11 21:44:02 -0700 | [diff] [blame] | 56 | <item name="list_item_height">@dimen/contact_browser_list_item_height</item> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 57 | <item name="list_section_header_height">24dip</item> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 58 | <item name="list_item_padding_top"> |
| 59 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 60 | </item> |
Andrew Lee | f897886 | 2014-06-09 17:02:37 -0700 | [diff] [blame] | 61 | <item name="list_item_padding_right">32dp</item> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 62 | <item name="list_item_padding_bottom"> |
| 63 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 64 | </item> |
Wenyi Wang | 13c31e9 | 2016-07-23 21:50:42 -0700 | [diff] [blame] | 65 | <item name="list_item_padding_left">0dp</item> |
Nancy Chen | ebe88e2 | 2014-08-15 12:31:48 -0700 | [diff] [blame] | 66 | <item name="list_item_gap_between_image_and_text"> |
| 67 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 68 | </item> |
Dmitri Plotnikov | 2223f83 | 2010-09-07 15:35:05 -0700 | [diff] [blame] | 69 | <item name="list_item_gap_between_label_and_data">5dip</item> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 70 | <item name="list_item_presence_icon_margin">4dip</item> |
| 71 | <item name="list_item_presence_icon_size">16dip</item> |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 72 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
Dave Santoro | 0a4d225 | 2011-05-20 11:40:34 -0700 | [diff] [blame] | 73 | <item name="list_item_profile_photo_size">70dip</item> |
Daniel Lehmann | 1a6aae1 | 2012-04-26 15:56:06 -0700 | [diff] [blame] | 74 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 75 | <item name="list_item_background_color">@color/list_item_pinned_header_color</item> |
Yorke Lee | 9dc14a8 | 2013-09-11 15:54:36 -0700 | [diff] [blame] | 76 | <item name="list_item_header_text_color">@color/people_app_theme_color</item> |
Yorke Lee | 787bbba | 2013-10-14 12:30:56 -0700 | [diff] [blame] | 77 | <item name="list_item_header_text_size">14sp</item> |
| 78 | <item name="list_item_header_height">30dip</item> |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 79 | <item name="list_item_header_text_indent">8dip</item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 80 | <item name="contact_browser_list_padding_left">0dip</item> |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 81 | <item name="contact_browser_list_padding_right">0dip</item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 82 | <item name="contact_browser_background">@color/background_primary</item> |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 83 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
Wenyi Wang | 1114fde | 2016-07-11 21:44:02 -0700 | [diff] [blame] | 84 | <item name="list_item_text_offset_top">-2dp</item> |
guanxiongliu | da16146 | 2016-07-27 18:46:41 -0700 | [diff] [blame] | 85 | <item name="list_item_avatar_offset_top">-1dp</item> |
Daisuke Miyakawa | f682802 | 2011-07-25 12:20:28 -0700 | [diff] [blame] | 86 | <!-- Favorites --> |
| 87 | <item name="favorites_padding_bottom">0dip</item> |
John Shao | 0440965 | 2016-11-09 17:48:15 -0800 | [diff] [blame] | 88 | <!-- Popup menu --> |
| 89 | <item name="android:popupMenuStyle">@style/PopupMenuStyle</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 90 | <item name="android:popupTheme">@style/PopupMenuStyle</item> |
maxwen | e009a63 | 2019-02-09 13:52:10 +0100 | [diff] [blame] | 91 | <item name="android:contextPopupMenuStyle">@style/ContextPopupMenuStyle</item> |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 92 | </style> |
Daniel Lehmann | 3b7d594 | 2010-07-22 18:10:50 -0700 | [diff] [blame] | 93 | |
yaolu | f31d697 | 2017-02-20 23:03:00 -0800 | [diff] [blame] | 94 | <style name="LaunchScreenTheme" parent="Theme.AppCompat.Light.DarkActionBar"> |
| 95 | <item name="android:windowBackground">@drawable/quantum_launchscreen_contacts</item> |
maxwen | b956de3 | 2019-02-07 14:40:01 +0100 | [diff] [blame] | 96 | <item name="android:colorPrimary">@color/background_primary</item> |
Marko Man | 5c506c4 | 2019-10-11 19:07:26 +0200 | [diff] [blame] | 97 | <item name="android:colorPrimaryDark">@color/primary_color</item> |
yaolu | f31d697 | 2017-02-20 23:03:00 -0800 | [diff] [blame] | 98 | </style> |
| 99 | |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 100 | <style name="PeopleActivityTheme" parent="@style/PeopleThemeAppCompat"> |
| 101 | <item name="windowActionBar">false</item> |
| 102 | <item name="windowNoTitle">true</item> |
| 103 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
| 104 | </style> |
| 105 | |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 106 | <style name="PeopleThemeAppCompat" parent="Theme.AppCompat.Light.DarkActionBar"> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 107 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 108 | <item name="android:actionBarStyle">@style/ContactsActionBarStyleAppCompat</item> |
| 109 | <item name="actionBarStyle">@style/ContactsActionBarStyleAppCompat</item> |
Wenyi Wang | 49ff913 | 2016-06-28 16:06:49 -0700 | [diff] [blame] | 110 | <item name="android:actionButtonStyle">@style/ContactsActionButtonStyle</item> |
| 111 | <item name="actionButtonStyle">@style/ContactsActionButtonStyle</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 112 | <!-- Style for the overflow button in the actionbar. --> |
| 113 | <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
| 114 | <item name="actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
Wenyi Wang | f568b30 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 115 | <item name="toolbarNavigationButtonStyle">@style/ContactToolbarNavigationButtonStyle</item> |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 116 | <item name="android:actionModeCloseDrawable">@drawable/quantum_ic_close_vd_theme_24</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 117 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 118 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
| 119 | <item name="android:icon">@android:color/transparent</item> |
| 120 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
| 121 | <item name="android:windowBackground">@color/background_primary</item> |
Marko Man | 5c506c4 | 2019-10-11 19:07:26 +0200 | [diff] [blame] | 122 | <item name="android:colorPrimaryDark">@color/primary_color</item> |
| 123 | <item name="colorPrimaryDark">@color/primary_color</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 124 | <item name="android:colorPrimary">@color/primary_color</item> |
| 125 | <item name="colorPrimary">@color/primary_color</item> |
| 126 | <item name="android:colorAccent">@color/primary_color</item> |
| 127 | <item name="colorAccent">@color/primary_color</item> |
Wenyi Wang | 2c0790a | 2016-06-14 14:08:29 -0700 | [diff] [blame] | 128 | <item name="android:alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item> |
| 129 | <item name="alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item> |
Wenyi Wang | 1114fde | 2016-07-11 21:44:02 -0700 | [diff] [blame] | 130 | <item name="list_item_height">@dimen/contact_browser_list_item_height</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 131 | <item name="list_section_header_height">24dip</item> |
| 132 | <item name="list_item_padding_top"> |
| 133 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 134 | </item> |
| 135 | <item name="list_item_padding_right">32dp</item> |
| 136 | <item name="list_item_padding_bottom"> |
| 137 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 138 | </item> |
Wenyi Wang | 13c31e9 | 2016-07-23 21:50:42 -0700 | [diff] [blame] | 139 | <item name="list_item_padding_left">0dp</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 140 | <item name="list_item_gap_between_image_and_text"> |
| 141 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 142 | </item> |
Wenyi Wang | 6023e2a | 2016-05-23 16:09:51 -0700 | [diff] [blame] | 143 | <item name="list_item_gap_between_indexer_and_image"> |
| 144 | @dimen/contact_browser_list_item_gap_between_indexer_and_image |
| 145 | </item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 146 | <item name="list_item_gap_between_label_and_data">5dip</item> |
| 147 | <item name="list_item_presence_icon_margin">4dip</item> |
| 148 | <item name="list_item_presence_icon_size">16dip</item> |
| 149 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 150 | <item name="list_item_profile_photo_size">70dip</item> |
| 151 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
| 152 | <item name="list_item_background_color">@color/list_item_pinned_header_color</item> |
| 153 | <item name="list_item_header_text_color">@color/people_app_theme_color</item> |
| 154 | <item name="list_item_header_text_size">14sp</item> |
| 155 | <item name="list_item_header_height">30dip</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 156 | <item name="list_item_header_text_indent">8dip</item> |
| 157 | <item name="contact_browser_list_padding_left">0dip</item> |
| 158 | <item name="contact_browser_list_padding_right">0dip</item> |
| 159 | <item name="contact_browser_background">@color/background_primary</item> |
| 160 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
Wenyi Wang | 1114fde | 2016-07-11 21:44:02 -0700 | [diff] [blame] | 161 | <item name="list_item_text_offset_top">-2dp</item> |
guanxiongliu | da16146 | 2016-07-27 18:46:41 -0700 | [diff] [blame] | 162 | <item name="list_item_avatar_offset_top">-1dp</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 163 | <!-- Favorites --> |
| 164 | <item name="favorites_padding_bottom">0dip</item> |
Wenyi Wang | bb22924 | 2016-05-25 16:04:13 -0700 | [diff] [blame] | 165 | <item name="drawerArrowStyle">@style/DrawerArrowStyle</item> |
John Shao | 0440965 | 2016-11-09 17:48:15 -0800 | [diff] [blame] | 166 | <!-- Popup menu --> |
| 167 | <item name="android:popupMenuStyle">@style/PopupMenuStyleAppCompat</item> |
| 168 | <item name="popupMenuStyle">@style/PopupMenuStyleAppCompat</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 169 | <item name="android:contextPopupMenuStyle">@style/PopupMenuStyleAppCompat</item> |
maxwen | 0011a62 | 2019-01-11 14:04:39 +0100 | [diff] [blame] | 170 | |
| 171 | <item name="android:fastScrollThumbDrawable">@drawable/thumb_drawable</item> |
| 172 | <item name="android:fastScrollTrackDrawable">@null</item> |
| 173 | <item name="android:fastScrollTextColor">@android:color/white</item> |
John Shao | 0440965 | 2016-11-09 17:48:15 -0800 | [diff] [blame] | 174 | </style> |
| 175 | |
maxwen | ef16ce9 | 2019-02-08 16:23:58 +0100 | [diff] [blame] | 176 | <style name="PopupMenuStyle" parent="@android:style/Theme.DeviceDefault.Light.Dialog"> |
John Shao | 0440965 | 2016-11-09 17:48:15 -0800 | [diff] [blame] | 177 | </style> |
| 178 | |
maxwen | ef16ce9 | 2019-02-08 16:23:58 +0100 | [diff] [blame] | 179 | <style name="PopupMenuStyleAppCompat" parent="@android:style/Theme.DeviceDefault.Light.Dialog"> |
Wenyi Wang | bb22924 | 2016-05-25 16:04:13 -0700 | [diff] [blame] | 180 | </style> |
| 181 | |
maxwen | e009a63 | 2019-02-09 13:52:10 +0100 | [diff] [blame] | 182 | <style name="ContextPopupMenuStyle" parent="@android:style/Widget.PopupMenu"> |
| 183 | <item name="android:popupBackground">@android:color/white</item> |
| 184 | </style> |
| 185 | |
Wenyi Wang | 49ff913 | 2016-06-28 16:06:49 -0700 | [diff] [blame] | 186 | <style name="ContactsActionButtonStyle" parent="Widget.AppCompat.ActionButton"> |
| 187 | <item name="android:paddingStart">16dp</item> |
| 188 | <item name="android:paddingEnd">16dp</item> |
| 189 | </style> |
| 190 | |
Wenyi Wang | bb22924 | 2016-05-25 16:04:13 -0700 | [diff] [blame] | 191 | <style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle"> |
Wenyi Wang | 8e73c36 | 2016-06-23 18:03:53 -0700 | [diff] [blame] | 192 | <item name="spinBars">false</item> |
Wenyi Wang | bb22924 | 2016-05-25 16:04:13 -0700 | [diff] [blame] | 193 | <item name="color">@android:color/white</item> |
| 194 | <item name="android:color">@android:color/white</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 195 | </style> |
| 196 | |
Brian Attwell | 5ba161f | 2014-06-25 21:35:37 -0700 | [diff] [blame] | 197 | <!-- Use the non-light style so that the up button & icons aren't black. If we use the |
| 198 | Light style, then it is impossible to tint the homeAsUp icon anything other than black --> |
| 199 | <style name="ContactsActionBarStyle" parent="@android:style/Widget.Material.ActionBar"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 200 | <item name="android:background">@color/actionbar_background_color</item> |
| 201 | <item name="android:titleTextStyle">@style/ContactsActionBarTitleText</item> |
| 202 | <item name="android:backgroundStacked">@color/actionbar_background_color</item> |
| 203 | <!-- Empty icon --> |
| 204 | <item name="android:icon">@android:color/transparent</item> |
| 205 | </style> |
| 206 | |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 207 | <style name="ContactsActionBarStyleAppCompat" |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 208 | parent="@style/Widget.AppCompat.ActionBar.Solid"> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 209 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 210 | <item name="android:background">@color/actionbar_background_color</item> |
| 211 | <item name="background">@color/actionbar_background_color</item> |
| 212 | <item name="android:titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item> |
| 213 | <item name="titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item> |
| 214 | <item name="android:backgroundStacked">@color/actionbar_background_color</item> |
| 215 | <item name="backgroundStacked">@color/actionbar_background_color</item> |
| 216 | <!-- Empty icon --> |
| 217 | <item name="android:icon">@android:color/transparent</item> |
| 218 | <item name="icon">@android:color/transparent</item> |
| 219 | </style> |
| 220 | |
Gary Mai | c40f3e9 | 2016-12-20 18:22:54 -0800 | [diff] [blame] | 221 | <style name="EditorActionBarStyle" parent="@style/ContactsToolbarStyle"> |
Brian Attwell | 7b05ef8 | 2015-05-04 20:50:20 -0700 | [diff] [blame] | 222 | <item name="android:contentInsetStart">72dp</item> |
Gary Mai | 15646ce | 2016-11-17 10:54:01 -0800 | [diff] [blame] | 223 | <item name="android:contentInsetStartWithNavigation">72dp</item> |
| 224 | <item name="android:titleTextAppearance">@style/ContactsActionBarTitleText</item> |
Brian Attwell | 68b14ca | 2014-07-30 15:57:59 -0700 | [diff] [blame] | 225 | </style> |
| 226 | |
Brian Attwell | 3c763b3 | 2014-07-21 14:25:28 -0700 | [diff] [blame] | 227 | <!-- When this style was added, android:toolbarStyle was private. Therefore, this style |
| 228 | must be directly applied to every toolbar --> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 229 | <style name="ContactsToolbarStyle" parent="@style/Widget.AppCompat.Toolbar"> |
| 230 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 231 | <item name="android:titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item> |
| 232 | <item name="titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 233 | <item name="popupTheme">@style/PopupMenuStyleAppCompat</item> |
Brian Attwell | 3c763b3 | 2014-07-21 14:25:28 -0700 | [diff] [blame] | 234 | </style> |
| 235 | |
Marcus Hagerott | 7217e69 | 2016-11-10 10:18:28 -0800 | [diff] [blame] | 236 | <style name="LightToolbarNavigationButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation"> |
| 237 | <item name="android:tint">?android:textColorSecondary</item> |
| 238 | </style> |
| 239 | |
| 240 | <style name="LightToolbarThemeOverlay" parent="@style/ThemeOverlay.AppCompat.ActionBar"> |
| 241 | <item name="toolbarNavigationButtonStyle">@style/LightToolbarNavigationButtonStyle</item> |
| 242 | </style> |
| 243 | |
| 244 | <style name="LightToolbarStyle" parent="@style/Widget.AppCompat.Toolbar"> |
| 245 | <item name="android:background">@color/contextual_selection_bar_color</item> |
| 246 | <item name="background">@color/contextual_selection_bar_color</item> |
| 247 | <item name="android:titleTextAppearance">@style/ContactsActionBarTitleTextBlack</item> |
| 248 | <item name="titleTextAppearance">@style/ContactsActionBarTitleTextBlack</item> |
| 249 | </style> |
| 250 | |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 251 | <!-- Text in the action bar at the top of the screen --> |
| 252 | <style name="ContactsActionBarTitleText" |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 253 | parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title"> |
Wenyi Wang | 49ff913 | 2016-06-28 16:06:49 -0700 | [diff] [blame] | 254 | <item name="android:textSize">20dp</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 255 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 256 | </style> |
| 257 | |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 258 | <style name="ContactsActionBarTitleTextAppCompat" parent="TextAppearance.Widget.AppCompat.Toolbar.Title"> |
Wenyi Wang | 937fb6d | 2016-06-12 15:57:47 -0700 | [diff] [blame] | 259 | <item name="android:textSize">20dp</item> |
Wenyi Wang | 3c3b6f1 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 260 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 261 | </style> |
| 262 | |
Wenyi Wang | db66269 | 2016-07-14 16:07:44 -0700 | [diff] [blame] | 263 | <style name="ContactsActionBarTitleTextBlack" parent="@style/ContactsActionBarTitleTextAppCompat"> |
| 264 | <item name="android:textColor">@color/actionbar_text_color_black</item> |
| 265 | </style> |
| 266 | |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 267 | <!-- Action bar overflow menu icon. --> |
| 268 | <style name="ContactsActionBarOverflowQP" |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 269 | parent="Widget.AppCompat.Light.ActionButton.Overflow"> |
John Shao | bd9ef3c | 2016-12-15 12:42:03 -0800 | [diff] [blame] | 270 | <item name="android:src">@drawable/quantum_ic_more_vert_vd_theme_24</item> |
Wenyi Wang | b315ecb | 2016-03-17 14:47:19 -0700 | [diff] [blame] | 271 | <item name="android:tint">@color/action_bar_button_text_color</item> |
Isaac Katzenelson | 5efbc3e | 2011-07-22 14:15:31 -0700 | [diff] [blame] | 272 | </style> |
| 273 | |
Wenyi Wang | f568b30 | 2016-04-02 13:58:43 -0700 | [diff] [blame] | 274 | <!-- Toolbar navigation button. --> |
| 275 | <style name="ContactToolbarNavigationButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation"> |
| 276 | <item name="android:tint">@color/action_bar_button_text_color</item> |
| 277 | </style> |
| 278 | |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 279 | <style name="ContactPickerTheme" parent="PeopleActivityTheme"> |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 280 | </style> |
Daniel Lehmann | 3b7d594 | 2010-07-22 18:10:50 -0700 | [diff] [blame] | 281 | |
Marcus Hagerott | 819214d | 2016-09-29 14:58:27 -0700 | [diff] [blame] | 282 | <style name="ContactsPreferencesTheme" parent="@style/PeopleThemeAppCompat"> |
Wenyi Wang | f358302 | 2016-02-19 17:13:57 -0800 | [diff] [blame] | 283 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Daniel Lehmann | 1010574 | 2010-07-15 17:35:57 -0700 | [diff] [blame] | 284 | </style> |
Dmitri Plotnikov | 2ddba01 | 2010-09-16 18:27:35 -0700 | [diff] [blame] | 285 | |
Walter Jang | 9294263 | 2016-07-14 19:49:32 +0000 | [diff] [blame] | 286 | <style name="ContactListFilterTheme" parent="@style/PeopleTheme"> |
| 287 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Wenyi Wang | 71340f8 | 2016-08-29 09:55:33 -0700 | [diff] [blame] | 288 | <item name="android:actionButtonStyle">@style/FilterActionButtonStyle</item> |
Walter Jang | 9294263 | 2016-07-14 19:49:32 +0000 | [diff] [blame] | 289 | </style> |
| 290 | |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 291 | <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar"> |
Dmitri Plotnikov | 1e5fc0c | 2011-01-31 10:37:57 -0800 | [diff] [blame] | 292 | </style> |
| 293 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 294 | <style name="NonPhoneDialogTheme" parent="@android:Theme.DeviceDefault.Light.Dialog"> |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 295 | </style> |
| 296 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 297 | <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog.MinWidth"> |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 298 | <item name="android:windowCloseOnTouchOutside">true</item> |
Katherine Kuan | 97a5749 | 2011-06-10 16:39:32 -0700 | [diff] [blame] | 299 | </style> |
| 300 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 301 | <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar.MinWidth"> |
Katherine Kuan | 0353a24 | 2011-09-23 10:38:28 -0700 | [diff] [blame] | 302 | <item name="android:windowCloseOnTouchOutside">true</item> |
| 303 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 304 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 305 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Brian Attwell | ec0e096 | 2015-05-21 15:01:09 -0700 | [diff] [blame] | 306 | <item name="android:colorAccent">@color/primary_color</item> |
Katherine Kuan | 0353a24 | 2011-09-23 10:38:28 -0700 | [diff] [blame] | 307 | </style> |
| 308 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 309 | <style name="SelectableItem" parent="@android:style/Theme.DeviceDefault.Light"> |
| 310 | <item name="android:background">@color/background_primary</item> |
Mindy Pereira | df4336c | 2011-10-06 11:10:34 -0700 | [diff] [blame] | 311 | </style> |
| 312 | |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 313 | <style name="ExpandingEntryCardStyle"> |
maxwen | 9469e99 | 2023-01-11 16:58:17 +0100 | [diff] [blame] | 314 | <item name="cardElevation">@dimen/expanding_entry_card_elevation</item> |
| 315 | <item name="cardBackgroundColor">@color/expanding_entry_card_background_color</item> |
| 316 | <item name="contentPadding">4dp</item> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 317 | <item name="android:layout_marginBottom">@dimen/expanding_entry_card_marginBottom</item> |
Paul Soulos | d3229ff | 2014-09-09 11:02:59 -0700 | [diff] [blame] | 318 | <item name="android:layout_marginEnd">@dimen/expanding_entry_card_marginStartEnd</item> |
| 319 | <item name="android:layout_marginStart">@dimen/expanding_entry_card_marginStartEnd</item> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 320 | <item name="android:orientation">vertical</item> |
| 321 | <item name="android:layout_width">match_parent</item> |
| 322 | <item name="android:layout_height">wrap_content</item> |
| 323 | </style> |
| 324 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 325 | <style name="SpinnerButtonStyle" parent="@android:style/Widget.Material.Spinner.Underlined"> |
Brian Attwell | 6639a9e | 2014-07-15 10:22:58 -0700 | [diff] [blame] | 326 | <!-- When applying the spinner style to a Button we need to disable the shadow animation |
| 327 | on the button since the spinner background is transparent. Otherwise the spinner-button |
| 328 | will look ridiculous. --> |
| 329 | <item name="android:stateListAnimator">@null</item> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 330 | <!-- We want our spinner's to use the same gravity as an EditText, so that they look |
| 331 | visually consistent with other controls in our forms --> |
| 332 | <item name="android:gravity">start|center_vertical</item> |
Brian Attwell | 6639a9e | 2014-07-15 10:22:58 -0700 | [diff] [blame] | 333 | </style> |
Brian Attwell | f303383 | 2014-08-07 14:41:14 -0700 | [diff] [blame] | 334 | |
| 335 | <style name="EditKindSeparatorTextViewStyle" parent="ContactListSeparatorTextViewStyle"> |
| 336 | <item name="android:textAppearance">@style/EditKindTextAppearanceStyle</item> |
| 337 | </style> |
| 338 | |
| 339 | <style name="EditKindTextAppearanceStyle" parent="@android:style/TextAppearance.Small"> |
| 340 | <item name="android:textSize">14sp</item> |
| 341 | <item name="android:textStyle">bold</item> |
| 342 | <item name="android:textAllCaps">true</item> |
| 343 | <item name="android:textColor">#363636</item> |
| 344 | <item name="android:fontFamily">sans-serif</item> |
| 345 | </style> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 346 | |
Wenyi Wang | 4a084e4 | 2016-06-14 20:59:45 +0000 | [diff] [blame] | 347 | <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert |
| 348 | since the Alert dialog is private. They are identical anyway. --> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 349 | <style name="ContactsAlertDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog"> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 350 | <item name="android:colorAccent">@color/primary_color</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 351 | <item name="android:background">@color/background_primary</item> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 352 | </style> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 353 | |
Wenyi Wang | 2c0790a | 2016-06-14 14:08:29 -0700 | [diff] [blame] | 354 | <style name="ContactsAlertDialogThemeAppCompat" parent="Theme.AppCompat.Light.Dialog.MinWidth"> |
| 355 | <item name="android:colorAccent">@color/primary_color</item> |
| 356 | <item name="colorAccent">@color/primary_color</item> |
| 357 | </style> |
| 358 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 359 | <style name="EditKindIconStyle"> |
| 360 | <item name="android:layout_width">24dp</item> |
| 361 | <item name="android:layout_height">24dp</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 362 | <item name="android:tint">@color/dialtacts_secondary_text_color</item> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 363 | <item name="android:layout_marginStart">16dp</item> |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 364 | <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have |
| 365 | 4dp of starting padding built in, we set this as 28dp. --> |
| 366 | <item name="android:layout_marginEnd">28dp</item> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 367 | <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item> |
| 368 | </style> |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 369 | |
Walter Jang | e6aad76 | 2015-10-22 12:50:02 -0700 | [diff] [blame] | 370 | <style name="EditSelectorIconStyle"> |
| 371 | <item name="android:layout_width">24dp</item> |
| 372 | <item name="android:layout_height">24dp</item> |
| 373 | <item name="android:layout_marginStart">16dp</item> |
| 374 | <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have |
| 375 | 4dp of starting padding built in, we set this as 28dp. --> |
| 376 | <item name="android:layout_marginEnd">28dp</item> |
| 377 | <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item> |
| 378 | </style> |
| 379 | |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 380 | <style name="AccountTypeIconStyle"> |
| 381 | <item name="android:layout_width">12dp</item> |
| 382 | <item name="android:layout_height">12dp</item> |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 383 | <item name="android:layout_marginStart">4dp</item> |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 384 | <item name="android:layout_marginEnd">4dp</item> |
| 385 | </style> |
| 386 | |
| 387 | <style name="AccountTypeNameStyle"> |
| 388 | <item name="android:textSize">10sp</item> |
| 389 | <item name="android:textColor">#363636</item> |
| 390 | <item name="android:fontFamily">sans-serif</item> |
| 391 | </style> |
Wenyi Wang | 9746ad8 | 2016-06-28 12:48:28 -0700 | [diff] [blame] | 392 | |
| 393 | <style name="NavigationDrawerMenuItemTextAppearance"> |
| 394 | <item name="android:ellipsize">end</item> |
| 395 | </style> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 396 | |
yaolu | 189036a | 2016-07-29 15:50:28 -0700 | [diff] [blame] | 397 | <!-- Text style for empty states (no account view, empty label). --> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 398 | <style name="EmptyStateTextStyle"> |
| 399 | <item name="android:textSize">18sp</item> |
| 400 | <item name="android:textColor">#000000</item> |
| 401 | <item name="android:alpha">0.54</item> |
| 402 | <item name="android:fontFamily">sans-serif</item> |
| 403 | </style> |
| 404 | |
yaolu | 189036a | 2016-07-29 15:50:28 -0700 | [diff] [blame] | 405 | <!-- Button style for main contacts no account empty view. --> |
| 406 | <style name="NoAccountViewButtonStyle" parent="@style/Widget.AppCompat.Button.Borderless"> |
| 407 | <item name="android:textSize">14sp</item> |
yaolu | 14235e6 | 2016-10-21 16:09:42 -0700 | [diff] [blame] | 408 | <item name="android:textColor">@color/primary_color</item> |
yaolu | 189036a | 2016-07-29 15:50:28 -0700 | [diff] [blame] | 409 | <item name="android:fontFamily">sans-serif-medium</item> |
| 410 | <item name="android:textAllCaps">true</item> |
| 411 | </style> |
| 412 | |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 413 | <!-- Add contacts button style for empty states. --> |
yaolu | b504605 | 2016-07-28 15:34:02 -0700 | [diff] [blame] | 414 | <style name="AddContactsButtonStyle" parent="@style/Widget.AppCompat.Button.Borderless"> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 415 | <item name="android:textSize">16sp</item> |
yaolu | 14235e6 | 2016-10-21 16:09:42 -0700 | [diff] [blame] | 416 | <item name="android:textColor">@color/primary_color</item> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 417 | <item name="android:fontFamily">sans-serif-medium</item> |
| 418 | <item name="android:textAllCaps">true</item> |
yaolu | d8effeb | 2016-06-29 14:42:38 -0700 | [diff] [blame] | 419 | </style> |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 420 | |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 421 | <style name="SectionHeaderStyle" parent="@android:style/TextAppearance.Large"> |
| 422 | <item name="android:textSize">16sp</item> |
| 423 | <item name="android:textAllCaps">true</item> |
| 424 | <item name="android:textColor">@color/section_header_text_color</item> |
| 425 | <item name="android:textStyle">bold</item> |
| 426 | </style> |
| 427 | |
| 428 | <style name="DirectoryHeaderStyle" parent="@android:style/TextAppearance.Small"> |
| 429 | <item name="android:textSize">14sp</item> |
| 430 | <item name="android:textColor">@color/dialtacts_secondary_text_color</item> |
| 431 | <item name="android:fontFamily">sans-serif-medium</item> |
| 432 | </style> |
| 433 | |
| 434 | <!-- TextView style used for headers. |
| 435 | |
| 436 | This is similar to ?android:attr/listSeparatorTextView but uses different |
| 437 | background and text color. See also android:style/Widget.Holo.TextView.ListSeparator |
| 438 | (which is private, so we cannot specify it as a parent style). --> |
| 439 | <style name="ContactListSeparatorTextViewStyle"> |
| 440 | <item name="android:layout_width">match_parent</item> |
| 441 | <item name="android:layout_height">wrap_content</item> |
| 442 | <!-- See comments for @dimen/list_section_divider_min_height --> |
| 443 | <item name="android:minHeight">@dimen/list_section_divider_min_height</item> |
| 444 | <item name="android:textAppearance">@style/DirectoryHeaderStyle</item> |
| 445 | <item name="android:gravity">center_vertical</item> |
| 446 | <item name="android:paddingLeft">8dip</item> |
| 447 | <item name="android:paddingStart">8dip</item> |
| 448 | <item name="android:paddingTop">4dip</item> |
| 449 | <item name="android:paddingBottom">4dip</item> |
| 450 | <item name="android:ellipsize">end</item> |
| 451 | <item name="android:singleLine">true</item> |
| 452 | <item name="android:textAllCaps">true</item> |
| 453 | </style> |
| 454 | |
| 455 | <style name="TextAppearanceMedium" parent="@android:style/TextAppearance.Medium"> |
| 456 | <item name="android:textSize">16sp</item> |
| 457 | <item name="android:textColor">#000000</item> |
| 458 | </style> |
| 459 | |
| 460 | <style name="TextAppearanceSmall" parent="@android:style/TextAppearance.Small"> |
| 461 | <item name="android:textSize">14sp</item> |
| 462 | <item name="android:textColor">#737373</item> |
| 463 | </style> |
| 464 | |
| 465 | <style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView"> |
| 466 | <item name="android:overScrollMode">always</item> |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 467 | <item name="android:background">@color/background_primary</item> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 468 | </style> |
| 469 | |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 470 | <!-- Adding padding to action button doesn't move it to left, we increase the button width to |
| 471 | make margin between the button and screen edge 16dp --> |
| 472 | <style name="FilterActionButtonStyle" parent="@android:Widget.ActionButton"> |
| 473 | <item name="android:minWidth">@dimen/contact_filter_action_button_width</item> |
| 474 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 475 | </style> |
| 476 | |
| 477 | <style name="CustomContactListFilterView" parent="ContactListFilterTheme"> |
| 478 | <item name="android:layout_width">match_parent</item> |
| 479 | <item name="android:layout_height">match_parent</item> |
| 480 | </style> |
| 481 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 482 | <style name="BackgroundOnlyTheme" parent="@android:style/Theme.DeviceDefault.Light"> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 483 | <item name="android:windowBackground">@null</item> |
| 484 | <item name="android:windowContentOverlay">@null</item> |
| 485 | <item name="android:windowAnimationStyle">@null</item> |
| 486 | <item name="android:windowNoTitle">true</item> |
| 487 | <!-- Activities that use this theme are background activities without obvious displays. |
| 488 | However, some also have dialogs. Therefore, it doesn't make sense to set this true.--> |
| 489 | <item name="android:windowNoDisplay">false</item> |
| 490 | <item name="android:windowIsFloating">true</item> |
| 491 | </style> |
| 492 | |
Marko Man | ec0bee5 | 2018-12-27 01:47:27 +0100 | [diff] [blame] | 493 | <style name="Theme.CallSubjectDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog"> |
Walter Jang | 13a9c33 | 2016-08-13 08:35:14 -0700 | [diff] [blame] | 494 | <item name="android:layout_width">match_parent</item> |
| 495 | <item name="android:layout_height">match_parent</item> |
| 496 | |
| 497 | <!-- No backgrounds, titles or window float --> |
| 498 | <item name="android:windowIsTranslucent">true</item> |
| 499 | <item name="android:windowNoTitle">true</item> |
| 500 | <item name="android:windowFullscreen">false</item> |
| 501 | <item name="android:windowIsFloating">true</item> |
| 502 | <item name="android:windowBackground">@android:color/transparent</item> |
| 503 | <item name="android:windowDrawsSystemBarBackgrounds">false</item> |
| 504 | <item name="android:windowContentOverlay">@null</item> |
| 505 | <item name="android:windowElevation">0dp</item> |
| 506 | </style> |
Gary Mai | a6c80b3 | 2016-09-30 16:34:55 -0700 | [diff] [blame] | 507 | |
| 508 | <!-- Transparent/blank activity --> |
| 509 | <style name="TransparentThemeAppCompat" parent="@style/PeopleActivityTheme"> |
| 510 | <item name="android:windowBackground">@android:color/transparent</item> |
| 511 | <item name="android:windowIsTranslucent">true</item> |
| 512 | <item name="android:windowContentOverlay">@null</item> |
| 513 | <item name="android:windowNoTitle">true</item> |
| 514 | <item name="android:windowIsFloating">true</item> |
| 515 | <item name="android:backgroundDimEnabled">false</item> |
| 516 | </style> |
Marcus Hagerott | 819214d | 2016-09-29 14:58:27 -0700 | [diff] [blame] | 517 | |
| 518 | <style name="FullScreenDialogAnimationStyle"> |
| 519 | <item name="android:windowEnterAnimation">@anim/slide_and_fade_in</item> |
| 520 | <item name="android:windowExitAnimation">@anim/slide_and_fade_out</item> |
| 521 | </style> |
| 522 | |
| 523 | <style name="PeopleThemeAppCompat.FullScreenDialog"> |
| 524 | <item name="android:windowNoTitle">true</item> |
| 525 | <item name="android:windowActionBar">false</item> |
Marcus Hagerott | 819214d | 2016-09-29 14:58:27 -0700 | [diff] [blame] | 526 | <item name="windowNoTitle">true</item> |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 527 | <item name="windowActionBar">false</item> |
Marcus Hagerott | 819214d | 2016-09-29 14:58:27 -0700 | [diff] [blame] | 528 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
| 529 | <item name="android:windowAnimationStyle">@style/FullScreenDialogAnimationStyle</item> |
| 530 | </style> |
Marcus Hagerott | a8b448a | 2016-11-18 12:51:39 -0800 | [diff] [blame] | 531 | |
| 532 | <style name="PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"> |
| 533 | <!-- This is necessary because the window is partially transparent during the enter |
| 534 | and exit animations --> |
| 535 | <item name="android:windowIsTranslucent">true</item> |
| 536 | <item name="android:statusBarColor">@color/contextual_selection_bar_status_bar_color</item> |
| 537 | </style> |
Wenyi Wang | 2829deb | 2017-01-04 14:05:13 -0800 | [diff] [blame] | 538 | |
| 539 | <!-- Style for item in navigation drawer --> |
| 540 | <style name="DrawerItemStyle"> |
| 541 | <item name="android:layout_width">match_parent</item> |
| 542 | <item name="android:layout_height">@dimen/drawer_item_fixed_height</item> |
| 543 | <item name="android:layout_gravity">center_vertical</item> |
| 544 | <item name="android:background">@drawable/drawer_item_background</item> |
| 545 | <item name="android:orientation">horizontal</item> |
| 546 | <item name="android:paddingStart">@dimen/drawer_side_padding</item> |
| 547 | </style> |
| 548 | |
| 549 | <style name="DrawerPrimaryItemStyle" parent="DrawerItemStyle"> |
| 550 | <item name="android:paddingEnd">@dimen/drawer_item_text_margin</item> |
| 551 | </style> |
| 552 | |
| 553 | <!-- Style for item icon in navigation drawer --> |
| 554 | <style name="DrawerItemIconStyle"> |
| 555 | <item name="android:layout_width">@dimen/drawer_item_icon_size</item> |
| 556 | <item name="android:layout_height">@dimen/drawer_item_icon_size</item> |
| 557 | <item name="android:layout_gravity">center</item> |
| 558 | <item name="android:gravity">center</item> |
| 559 | <item name="android:scaleType">center</item> |
| 560 | </style> |
| 561 | |
| 562 | <!-- Style for primary item text in navigation drawer --> |
| 563 | <style name="DrawerItemTextStyle" parent="DrawerTextStyle"> |
| 564 | <item name="android:textColor">@color/primary_text_color</item> |
| 565 | <item name="android:layout_width">0dip</item> |
| 566 | <item name="android:layout_height">wrap_content</item> |
| 567 | <item name="android:layout_weight">1</item> |
Wenyi Wang | 67b2c4b | 2017-07-31 17:55:09 -0700 | [diff] [blame] | 568 | <item name="android:textAlignment">viewStart</item> |
Wenyi Wang | 2829deb | 2017-01-04 14:05:13 -0800 | [diff] [blame] | 569 | <item name="android:layout_marginStart">@dimen/drawer_item_text_margin</item> |
| 570 | <item name="android:layout_marginEnd">@dimen/drawer_item_text_margin</item> |
| 571 | </style> |
| 572 | |
| 573 | <style name="DrawerTextStyle"> |
| 574 | <item name="android:fontFamily" tools:ignore="NewApi">sans-serif-medium</item> |
| 575 | <item name="android:gravity">center_vertical</item> |
| 576 | <item name="android:layout_gravity">center_vertical</item> |
| 577 | <item name="android:textSize">14sp</item> |
| 578 | <item name="android:singleLine">true</item> |
| 579 | <item name="android:ellipsize">end</item> |
| 580 | </style> |
| 581 | |
| 582 | <style name="DrawerItemTextActiveStyle"> |
| 583 | <item name="android:textColor">@color/primary_color</item> |
| 584 | <item name="android:textStyle">bold</item> |
| 585 | </style> |
| 586 | |
| 587 | <style name="DrawerItemTextInactiveStyle"> |
| 588 | <item name="android:textColor">@color/quantum_black_text</item> |
| 589 | <item name="android:textStyle">bold</item> |
| 590 | </style> |
| 591 | |
| 592 | <style name="DrawerHeaderTextStyle" parent="DrawerTextStyle"> |
| 593 | <item name="android:layout_gravity">center_vertical|start</item> |
| 594 | <item name="android:paddingTop">12dp</item> |
| 595 | <item name="android:paddingBottom">12dp</item> |
| 596 | <item name="android:textColor">@color/quantum_black_secondary_text</item> |
| 597 | <item name="android:textSize">14sp</item> |
| 598 | </style> |
| 599 | |
| 600 | <style name="DrawerBadgeStyle" parent="DrawerHeaderTextStyle"> |
| 601 | <item name="android:layout_gravity">center_vertical|end</item> |
| 602 | </style> |
| 603 | |
| 604 | <style name="DrawerHeaderItemStyle"> |
| 605 | <item name="android:paddingStart">@dimen/drawer_side_padding</item> |
| 606 | <item name="android:paddingEnd">@dimen/drawer_label_header_end_padding</item> |
| 607 | </style> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 608 | </resources> |