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