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 | |
Paul Sliwowski | 3b6a6f6 | 2013-09-05 01:20:12 -0700 | [diff] [blame] | 18 | <style name="DetailActivityTheme" parent="@android:style/Theme.Holo.Light"> |
Isaac Katzenelson | 5efbc3e | 2011-07-22 14:15:31 -0700 | [diff] [blame] | 19 | <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> |
Paul Sliwowski | 3b6a6f6 | 2013-09-05 01:20:12 -0700 | [diff] [blame] | 20 | <item name="android:homeAsUpIndicator">@drawable/ic_menu_back</item> |
| 21 | <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflow</item> |
Makoto Onuki | e2405a5 | 2011-08-17 17:56:09 -0700 | [diff] [blame] | 22 | <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item> |
Katherine Kuan | 69f94ef | 2011-10-18 14:59:46 -0700 | [diff] [blame] | 23 | <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item> |
Katherine Kuan | 8bec909 | 2011-08-01 14:04:36 -0700 | [diff] [blame] | 24 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 25 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 26 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Daniel Lehmann | 134e53f | 2010-08-25 14:21:51 -0700 | [diff] [blame] | 27 | </style> |
Katherine Kuan | fd70903 | 2011-08-02 14:18:16 -0700 | [diff] [blame] | 28 | |
Brian Attwell | 5cc21eb | 2014-06-03 21:08:01 -0700 | [diff] [blame] | 29 | <style name="EditorActivityTheme" parent="@style/PeopleTheme"> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 30 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Brian Attwell | 68b14ca | 2014-07-30 15:57:59 -0700 | [diff] [blame] | 31 | <item name="android:actionBarStyle">@style/EditorActionBarStyle</item> |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 32 | <item name="android:colorButtonNormal">@color/background_primary</item> |
Romain Guy | 8de29a3 | 2009-03-24 18:08:41 -0700 | [diff] [blame] | 33 | </style> |
| 34 | |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 35 | <style name="Theme"> |
Jeff Sharkey | 802b205 | 2009-08-04 14:21:06 -0700 | [diff] [blame] | 36 | </style> |
| 37 | |
Brian Attwell | b7e4364 | 2014-06-02 14:33:04 -0700 | [diff] [blame] | 38 | <style name="Theme.QuickContact" parent="@style/PeopleTheme"> |
| 39 | <item name="android:windowBackground">@android:color/transparent</item> |
| 40 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 41 | <item name="android:windowFrame">@null</item> |
| 42 | <item name="android:windowContentOverlay">@null</item> |
| 43 | <item name="android:windowAnimationStyle">@null</item> |
| 44 | <item name="android:windowIsFloating">false</item> |
| 45 | <item name="android:windowIsTranslucent">true</item> |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 46 | <item name="android:windowNoTitle">true</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 47 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Brian Attwell | ed6cda6 | 2014-06-26 17:13:14 -0700 | [diff] [blame] | 48 | <!-- We need to use a light ripple behind ActionBar items in order for them to |
| 49 | be visible when using some of the darker ActionBar tints --> |
| 50 | <item name="android:actionBarItemBackground">@drawable/item_background_material_borderless_dark</item> |
Dianne Hackborn | 5112c12 | 2009-09-18 15:52:54 -0700 | [diff] [blame] | 51 | </style> |
| 52 | |
Brian Attwell | e3b4e10 | 2014-06-09 17:05:38 -0700 | [diff] [blame] | 53 | <style name="PeopleTheme" parent="@android:style/Theme.Material.Light"> |
Isaac Katzenelson | 5efbc3e | 2011-07-22 14:15:31 -0700 | [diff] [blame] | 54 | <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 55 | <!-- Style for the tab bar (for the divider between tabs) --> |
| 56 | <item name="android:actionBarTabBarStyle">@style/ContactsActionBarTabBarStyle</item> |
| 57 | <!-- Style for the tab bar text (for text on tabs) --> |
| 58 | <item name="android:actionBarTabTextStyle">@style/ContactsActionBarTabTextStyle</item> |
Brian Attwell | 5ba161f | 2014-06-25 21:35:37 -0700 | [diff] [blame] | 59 | <!-- Drawable for the back button --> |
| 60 | <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 61 | <!-- Style for the overflow button in the actionbar. --> |
| 62 | <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
Brian Attwell | e8c53eb | 2014-10-07 12:27:55 -0700 | [diff] [blame] | 63 | <item name="android:actionModeCloseDrawable">@drawable/ic_close_lt</item> |
Nancy Chen | 7b12ef8 | 2014-09-12 10:53:14 -0700 | [diff] [blame] | 64 | <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> |
Andrew Lee | 181eb0b | 2015-01-07 14:41:54 -0800 | [diff] [blame] | 65 | <item name="android:fastScrollTrackDrawable">@null</item> |
Brian Attwell | 15c43d9 | 2014-05-19 21:14:36 +0000 | [diff] [blame] | 66 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 67 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 68 | <item name="android:icon">@android:color/transparent</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 69 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Andrew Lee | 4b1af3f | 2014-04-23 10:23:55 -0700 | [diff] [blame] | 70 | <item name="android:windowBackground">@color/background_primary</item> |
Brian Attwell | 77329c8 | 2014-08-06 22:10:12 -0700 | [diff] [blame] | 71 | <item name="android:colorPrimaryDark">@color/primary_color_dark</item> |
| 72 | <item name="android:colorPrimary">@color/primary_color</item> |
Brian Attwell | 5109186 | 2014-08-20 15:40:17 -0700 | [diff] [blame] | 73 | <item name="android:colorAccent">@color/primary_color</item> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 74 | <item name="android:alertDialogTheme">@style/ContactsAlertDialogTheme</item> |
Dmitri Plotnikov | c98fe87 | 2010-12-01 21:46:41 -0800 | [diff] [blame] | 75 | <item name="list_item_height">?android:attr/listPreferredItemHeight</item> |
Dmitri Plotnikov | c98fe87 | 2010-12-01 21:46:41 -0800 | [diff] [blame] | 76 | <item name="activated_background">@drawable/list_item_activated_background</item> |
Daniel Lehmann | 5e42838 | 2011-04-08 15:02:43 -0700 | [diff] [blame] | 77 | <item name="section_header_background">@drawable/list_title_holo</item> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 78 | <item name="list_section_header_height">24dip</item> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 79 | <item name="list_item_padding_top"> |
| 80 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 81 | </item> |
Andrew Lee | f897886 | 2014-06-09 17:02:37 -0700 | [diff] [blame] | 82 | <item name="list_item_padding_right">32dp</item> |
Brian Attwell | 7a3bd35 | 2014-09-08 13:44:18 -0700 | [diff] [blame] | 83 | <item name="list_item_padding_bottom"> |
| 84 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 85 | </item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 86 | <item name="list_item_padding_left">16dip</item> |
Nancy Chen | ebe88e2 | 2014-08-15 12:31:48 -0700 | [diff] [blame] | 87 | <item name="list_item_gap_between_image_and_text"> |
| 88 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 89 | </item> |
Dmitri Plotnikov | 2223f83 | 2010-09-07 15:35:05 -0700 | [diff] [blame] | 90 | <item name="list_item_gap_between_label_and_data">5dip</item> |
Isaac Katzenelson | 36b27c6 | 2011-07-20 12:06:01 -0700 | [diff] [blame] | 91 | <item name="list_item_presence_icon_margin">4dip</item> |
| 92 | <item name="list_item_presence_icon_size">16dip</item> |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 93 | <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] | 94 | <item name="list_item_profile_photo_size">70dip</item> |
Daniel Lehmann | 1a6aae1 | 2012-04-26 15:56:06 -0700 | [diff] [blame] | 95 | <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] | 96 | <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] | 97 | <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] | 98 | <item name="list_item_header_text_size">14sp</item> |
| 99 | <item name="list_item_header_height">30dip</item> |
Daisuke Miyakawa | 2eb1be6 | 2011-10-14 15:56:59 -0700 | [diff] [blame] | 100 | <item name="list_item_data_width_weight">5</item> |
| 101 | <item name="list_item_label_width_weight">3</item> |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 102 | <item name="list_item_header_text_indent">8dip</item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 103 | <item name="contact_browser_list_padding_left">0dip</item> |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 104 | <item name="contact_browser_list_padding_right">0dip</item> |
Sai Cheemalapati | 5b22108 | 2014-06-27 14:45:43 -0700 | [diff] [blame] | 105 | <item name="contact_browser_background">@color/background_primary</item> |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 106 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
Daisuke Miyakawa | f682802 | 2011-07-25 12:20:28 -0700 | [diff] [blame] | 107 | <!-- Favorites --> |
| 108 | <item name="favorites_padding_bottom">0dip</item> |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 109 | </style> |
Daniel Lehmann | 3b7d594 | 2010-07-22 18:10:50 -0700 | [diff] [blame] | 110 | |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 111 | <style name="PeopleActivityTheme" parent="@style/PeopleThemeAppCompat"> |
| 112 | <item name="windowActionBar">false</item> |
| 113 | <item name="windowNoTitle">true</item> |
| 114 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
| 115 | </style> |
| 116 | |
| 117 | <style name="ContactsUnavailableButtonStyle" parent="@style/Widget.AppCompat.Button.Colored"> |
| 118 | </style> |
| 119 | |
Wenyi Wang | 903fbfc | 2015-12-31 13:19:00 -0800 | [diff] [blame] | 120 | <style name="PeopleThemeAppCompat" parent="Theme.AppCompat.Light"> |
| 121 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 122 | <item name="android:actionBarStyle">@style/ContactsActionBarStyleAppCompat</item> |
| 123 | <item name="actionBarStyle">@style/ContactsActionBarStyleAppCompat</item> |
| 124 | <!-- Style for the tab bar (for the divider between tabs) --> |
| 125 | <item name="android:actionBarTabBarStyle">@style/ContactsActionBarTabBarStyle</item> |
| 126 | <item name="actionBarTabBarStyle">@style/ContactsActionBarTabBarStyle</item> |
| 127 | <!-- Style for the tab bar text (for text on tabs) --> |
| 128 | <item name="android:actionBarTabTextStyle">@style/ContactsActionBarTabTextStyle</item> |
| 129 | <item name="actionBarTabTextStyle">@style/ContactsActionBarTabTextStyle</item> |
| 130 | <!-- Drawable for the back button --> |
| 131 | <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item> |
| 132 | <item name="homeAsUpIndicator">@drawable/ic_back_arrow</item> |
| 133 | <!-- Style for the overflow button in the actionbar. --> |
| 134 | <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 135 | <item name="actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item> |
Wenyi Wang | 903fbfc | 2015-12-31 13:19:00 -0800 | [diff] [blame] | 136 | <item name="android:actionModeCloseDrawable">@drawable/ic_close_lt</item> |
| 137 | <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> |
| 138 | <item name="android:fastScrollTrackDrawable">@null</item> |
| 139 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 140 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
| 141 | <item name="android:icon">@android:color/transparent</item> |
| 142 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
| 143 | <item name="android:windowBackground">@color/background_primary</item> |
| 144 | <item name="android:colorPrimaryDark">@color/primary_color_dark</item> |
| 145 | <item name="colorPrimaryDark">@color/primary_color_dark</item> |
| 146 | <item name="android:colorPrimary">@color/primary_color</item> |
| 147 | <item name="colorPrimary">@color/primary_color</item> |
| 148 | <item name="android:colorAccent">@color/primary_color</item> |
| 149 | <item name="colorAccent">@color/primary_color</item> |
| 150 | <item name="android:alertDialogTheme">@style/ContactsAlertDialogTheme</item> |
| 151 | <item name="alertDialogTheme">@style/ContactsAlertDialogTheme</item> |
| 152 | <item name="list_item_height">?android:attr/listPreferredItemHeight</item> |
| 153 | <item name="activated_background">@drawable/list_item_activated_background</item> |
| 154 | <item name="section_header_background">@drawable/list_title_holo</item> |
| 155 | <item name="list_section_header_height">24dip</item> |
| 156 | <item name="list_item_padding_top"> |
| 157 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 158 | </item> |
| 159 | <item name="list_item_padding_right">32dp</item> |
| 160 | <item name="list_item_padding_bottom"> |
| 161 | @dimen/contact_browser_list_item_padding_top_or_bottom |
| 162 | </item> |
| 163 | <item name="list_item_padding_left">16dip</item> |
| 164 | <item name="list_item_gap_between_image_and_text"> |
| 165 | @dimen/contact_browser_list_item_gap_between_image_and_text |
| 166 | </item> |
| 167 | <item name="list_item_gap_between_label_and_data">5dip</item> |
| 168 | <item name="list_item_presence_icon_margin">4dip</item> |
| 169 | <item name="list_item_presence_icon_size">16dip</item> |
| 170 | <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item> |
| 171 | <item name="list_item_profile_photo_size">70dip</item> |
| 172 | <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item> |
| 173 | <item name="list_item_background_color">@color/list_item_pinned_header_color</item> |
| 174 | <item name="list_item_header_text_color">@color/people_app_theme_color</item> |
| 175 | <item name="list_item_header_text_size">14sp</item> |
| 176 | <item name="list_item_header_height">30dip</item> |
| 177 | <item name="list_item_data_width_weight">5</item> |
| 178 | <item name="list_item_label_width_weight">3</item> |
| 179 | <item name="list_item_header_text_indent">8dip</item> |
| 180 | <item name="contact_browser_list_padding_left">0dip</item> |
| 181 | <item name="contact_browser_list_padding_right">0dip</item> |
| 182 | <item name="contact_browser_background">@color/background_primary</item> |
| 183 | <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> |
| 184 | <!-- Favorites --> |
| 185 | <item name="favorites_padding_bottom">0dip</item> |
| 186 | </style> |
| 187 | |
Paul Sliwowski | 3b6a6f6 | 2013-09-05 01:20:12 -0700 | [diff] [blame] | 188 | <style name="ContactsActionBarOverflow" parent="@android:style/Widget.Holo.ActionButton.Overflow"> |
| 189 | <item name="android:src">@drawable/ic_overflow_menu</item> |
| 190 | </style> |
| 191 | |
Brian Attwell | 5ba161f | 2014-06-25 21:35:37 -0700 | [diff] [blame] | 192 | <!-- Use the non-light style so that the up button & icons aren't black. If we use the |
| 193 | Light style, then it is impossible to tint the homeAsUp icon anything other than black --> |
| 194 | <style name="ContactsActionBarStyle" parent="@android:style/Widget.Material.ActionBar"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 195 | <item name="android:background">@color/actionbar_background_color</item> |
| 196 | <item name="android:titleTextStyle">@style/ContactsActionBarTitleText</item> |
| 197 | <item name="android:backgroundStacked">@color/actionbar_background_color</item> |
| 198 | <!-- Empty icon --> |
| 199 | <item name="android:icon">@android:color/transparent</item> |
| 200 | </style> |
| 201 | |
Wenyi Wang | 903fbfc | 2015-12-31 13:19:00 -0800 | [diff] [blame] | 202 | <style name="ContactsActionBarStyleAppCompat" |
| 203 | parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"> |
| 204 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 205 | <item name="android:background">@color/actionbar_background_color</item> |
| 206 | <item name="background">@color/actionbar_background_color</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 207 | <item name="android:titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item> |
| 208 | <item name="titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item> |
Wenyi Wang | 903fbfc | 2015-12-31 13:19:00 -0800 | [diff] [blame] | 209 | <item name="android:backgroundStacked">@color/actionbar_background_color</item> |
| 210 | <item name="backgroundStacked">@color/actionbar_background_color</item> |
| 211 | <!-- Empty icon --> |
| 212 | <item name="android:icon">@android:color/transparent</item> |
| 213 | <item name="icon">@android:color/transparent</item> |
| 214 | </style> |
| 215 | |
Brian Attwell | 68b14ca | 2014-07-30 15:57:59 -0700 | [diff] [blame] | 216 | <style name="EditorActionBarStyle" parent="@style/ContactsActionBarStyle"> |
Brian Attwell | 7b05ef8 | 2015-05-04 20:50:20 -0700 | [diff] [blame] | 217 | <item name="android:contentInsetStart">72dp</item> |
Brian Attwell | 68b14ca | 2014-07-30 15:57:59 -0700 | [diff] [blame] | 218 | </style> |
| 219 | |
Brian Attwell | 3c763b3 | 2014-07-21 14:25:28 -0700 | [diff] [blame] | 220 | <!-- When this style was added, android:toolbarStyle was private. Therefore, this style |
| 221 | must be directly applied to every toolbar --> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 222 | <style name="ContactsToolbarStyle" parent="@style/Widget.AppCompat.Toolbar"> |
| 223 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 224 | <item name="android:titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item> |
| 225 | <item name="titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item> |
Brian Attwell | 3c763b3 | 2014-07-21 14:25:28 -0700 | [diff] [blame] | 226 | </style> |
| 227 | |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 228 | <style name="ContactsPickerActionBarStyle" parent="@style/ContactsActionBarStyleAppCompat"> |
Brian Attwell | 89ee395 | 2014-07-09 16:40:39 -0700 | [diff] [blame] | 229 | <!-- when first loading, don't show title or up button --> |
| 230 | <item name="android:displayOptions"></item> |
| 231 | </style> |
| 232 | |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 233 | <style name="ContactPickerSearchTheme" parent="@style/PeopleThemeAppCompat"> |
Brian Attwell | 7630061 | 2014-08-20 13:06:02 -0700 | [diff] [blame] | 234 | <item name="android:textColorPrimary">@android:color/white</item> |
| 235 | <item name="android:textColorHint">?android:textColorHintInverse</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 236 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Brian Attwell | 7630061 | 2014-08-20 13:06:02 -0700 | [diff] [blame] | 237 | <item name="android:colorControlActivated">?android:textColorHintInverse</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 238 | <item name="colorControlActivated">?android:textColorHintInverse</item> |
Brian Attwell | 7630061 | 2014-08-20 13:06:02 -0700 | [diff] [blame] | 239 | <item name="android:colorControlNormal">@android:color/white</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 240 | <item name="colorControlNormal">@android:color/white</item> |
Brian Attwell | 7630061 | 2014-08-20 13:06:02 -0700 | [diff] [blame] | 241 | </style> |
| 242 | |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 243 | <!-- Text in the action bar at the top of the screen --> |
| 244 | <style name="ContactsActionBarTitleText" |
Brian Attwell | e3b4e10 | 2014-06-09 17:05:38 -0700 | [diff] [blame] | 245 | parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 246 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 247 | </style> |
| 248 | |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 249 | <style name="ContactsActionBarTitleTextAppCompat" parent="TextAppearance.Widget.AppCompat.Toolbar.Title"> |
| 250 | <item name="android:textColor">@color/actionbar_text_color</item> |
| 251 | </style> |
| 252 | |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 253 | <!-- Styling for the tab bar; handles styling of the divider line. --> |
| 254 | <style name="ContactsActionBarTabBarStyle" |
Brian Attwell | e3b4e10 | 2014-06-09 17:05:38 -0700 | [diff] [blame] | 255 | parent="@android:style/Widget.Material.ActionBar.TabBar"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 256 | <item name="android:showDividers">none</item> |
| 257 | </style> |
| 258 | |
| 259 | <!-- Text style for tabs. --> |
| 260 | <style name="ContactsActionBarTabTextStyle" |
Brian Attwell | e3b4e10 | 2014-06-09 17:05:38 -0700 | [diff] [blame] | 261 | parent="android:style/Widget.Material.Light.ActionBar.TabText"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 262 | <item name="android:textColor">@color/tab_text_color</item> |
| 263 | <item name="android:textSize">@dimen/tab_text_size</item> |
| 264 | <item name="android:fontFamily">@string/tab_font_family</item> |
Brian Attwell | c07a9bb | 2015-03-03 15:32:39 -0800 | [diff] [blame] | 265 | <item name="android:elevation">0dp</item> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 266 | <item name="android:textStyle">bold</item> |
| 267 | </style> |
| 268 | |
| 269 | <!-- Action bar overflow menu icon. --> |
| 270 | <style name="ContactsActionBarOverflowQP" |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 271 | parent="Widget.AppCompat.Light.ActionButton.Overflow"> |
Brian Attwell | b0d3c76 | 2014-05-22 03:44:22 +0000 | [diff] [blame] | 272 | <item name="android:src">@drawable/ic_menu_overflow_lt</item> |
Isaac Katzenelson | 5efbc3e | 2011-07-22 14:15:31 -0700 | [diff] [blame] | 273 | </style> |
| 274 | |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 275 | <style name="ContactsActionBarDropDownStyle" parent="@android:style/Widget.Holo.Light.Spinner"> |
Maurice Chu | 7e9aad1 | 2012-05-16 15:57:13 -0700 | [diff] [blame] | 276 | <item name="android:background">@drawable/ab_dropdown_navigation_item_background</item> |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 277 | </style> |
| 278 | |
Paul Sliwowski | 3b6a6f6 | 2013-09-05 01:20:12 -0700 | [diff] [blame] | 279 | <style name="ContactsActionBarTheme" parent="@android:style/Theme.Holo.Light"> |
Katherine Kuan | 0bf7cd0 | 2011-08-22 18:12:03 -0700 | [diff] [blame] | 280 | <item name="android:textColorHint">#CCCCCC</item> |
Katherine Kuan | 69f94ef | 2011-10-18 14:59:46 -0700 | [diff] [blame] | 281 | <item name="android:textColor">@android:color/black</item> |
| 282 | <item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item> |
| 283 | <item name="android:dropDownListViewStyle">@style/ListViewDropdownStyle</item> |
Katherine Kuan | 0bf7cd0 | 2011-08-22 18:12:03 -0700 | [diff] [blame] | 284 | </style> |
| 285 | |
Katherine Kuan | 69f94ef | 2011-10-18 14:59:46 -0700 | [diff] [blame] | 286 | <style name="ListViewDropdownStyle" parent="@android:style/Widget.ListView.DropDown"> |
| 287 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
| 288 | </style> |
| 289 | |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 290 | <style name="ContactPickerTheme" parent="@style/PeopleThemeAppCompat"> |
| 291 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
Brian Attwell | 89ee395 | 2014-07-09 16:40:39 -0700 | [diff] [blame] | 292 | <item name="android:actionBarStyle">@style/ContactsPickerActionBarStyle</item> |
Wenyi Wang | e7fd1ad | 2016-01-06 14:12:10 -0800 | [diff] [blame] | 293 | <item name="actionBarStyle">@style/ContactsPickerActionBarStyle</item> |
| 294 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
Brian Attwell | 89ee395 | 2014-07-09 16:40:39 -0700 | [diff] [blame] | 295 | </style> |
Katherine Kuan | 69f94ef | 2011-10-18 14:59:46 -0700 | [diff] [blame] | 296 | |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 297 | <style name="ContactPickerLayout" parent="ContactPickerTheme"> |
| 298 | <item name="android:layout_width">match_parent</item> |
| 299 | <item name="android:layout_height">match_parent</item> |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 300 | </style> |
Daniel Lehmann | 3b7d594 | 2010-07-22 18:10:50 -0700 | [diff] [blame] | 301 | |
Wenyi Wang | 86f2a86 | 2015-12-30 16:54:51 -0800 | [diff] [blame] | 302 | <style name="ContactsPreferencesTheme" parent="@style/PeopleThemeAppCompat"> |
| 303 | <!-- Styles that require AppCompat compatibility, remember to update both sets --> |
| 304 | <item name="android:alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item> |
| 305 | <item name="alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item> |
Daniel Lehmann | 1010574 | 2010-07-15 17:35:57 -0700 | [diff] [blame] | 306 | </style> |
Dmitri Plotnikov | 2ddba01 | 2010-09-16 18:27:35 -0700 | [diff] [blame] | 307 | |
Wenyi Wang | 903fbfc | 2015-12-31 13:19:00 -0800 | [diff] [blame] | 308 | <style name="ContactListFilterTheme" parent="@style/PeopleThemeAppCompat"> |
| 309 | <!-- Make the shadow when pressing a list item transparent rather than yellow. --> |
| 310 | <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item> |
Dmitri Plotnikov | a4d6a3b | 2010-10-06 18:04:31 -0700 | [diff] [blame] | 311 | </style> |
| 312 | |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 313 | <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar"> |
Dmitri Plotnikov | 1e5fc0c | 2011-01-31 10:37:57 -0800 | [diff] [blame] | 314 | </style> |
| 315 | |
Brian Attwell | 5ba161f | 2014-06-25 21:35:37 -0700 | [diff] [blame] | 316 | <style name="NonPhoneDialogTheme" parent="@android:Theme.Material.Light.Dialog"> |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 317 | </style> |
| 318 | |
Wenyi Wang | 3d53e23 | 2016-01-06 16:47:56 -0800 | [diff] [blame] | 319 | <style name="ConfirmAddDetailDialogTheme" parent="Theme.AppCompat.Light.Dialog"> |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 320 | <item name="android:windowCloseOnTouchOutside">true</item> |
Katherine Kuan | 97a5749 | 2011-06-10 16:39:32 -0700 | [diff] [blame] | 321 | </style> |
| 322 | |
Wenyi Wang | 3d53e23 | 2016-01-06 16:47:56 -0800 | [diff] [blame] | 323 | <style name="ContactEditorAccountsChangedActivityTheme" parent="Theme.AppCompat.Light.Dialog"> |
Katherine Kuan | 0353a24 | 2011-09-23 10:38:28 -0700 | [diff] [blame] | 324 | <item name="android:windowCloseOnTouchOutside">true</item> |
| 325 | <item name="android:textColorPrimary">@color/primary_text_color</item> |
| 326 | <item name="android:textColorSecondary">@color/secondary_text_color</item> |
Katherine Kuan | d85b986 | 2011-09-25 19:37:38 -0700 | [diff] [blame] | 327 | <item name="android:listViewStyle">@style/ListViewStyle</item> |
Brian Attwell | ec0e096 | 2015-05-21 15:01:09 -0700 | [diff] [blame] | 328 | <item name="android:colorAccent">@color/primary_color</item> |
Wenyi Wang | 3d53e23 | 2016-01-06 16:47:56 -0800 | [diff] [blame] | 329 | <item name="colorAccent">@color/primary_color</item> |
Katherine Kuan | 0353a24 | 2011-09-23 10:38:28 -0700 | [diff] [blame] | 330 | </style> |
| 331 | |
Dmitri Plotnikov | d8f84e0 | 2011-01-23 18:03:14 -0800 | [diff] [blame] | 332 | <style name="SectionDivider"> |
| 333 | <item name="android:background">#7e7e87</item> |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 334 | <item name="android:layout_height">1dip</item> |
Dmitri Plotnikov | d8f84e0 | 2011-01-23 18:03:14 -0800 | [diff] [blame] | 335 | <item name="android:layout_width">match_parent</item> |
| 336 | </style> |
Katherine Kuan | 2719ab0 | 2011-05-02 17:18:04 -0700 | [diff] [blame] | 337 | |
Katherine Kuan | 37bddc2 | 2011-07-09 17:36:26 -0700 | [diff] [blame] | 338 | <style name="ConfirmAddDetailViewStyle"> |
| 339 | <item name="android:layout_width">match_parent</item> |
| 340 | <item name="android:layout_height">wrap_content</item> |
| 341 | </style> |
| 342 | |
| 343 | <style name="ConfirmAddDetailHeaderViewStyle"> |
| 344 | <item name="android:layout_width">match_parent</item> |
| 345 | <item name="android:layout_height">150dip</item> |
| 346 | </style> |
| 347 | |
Brian Attwell | e3b4e10 | 2014-06-09 17:05:38 -0700 | [diff] [blame] | 348 | <style name="SelectableItem" parent="@android:style/Theme.Material.Light"> |
Mindy Pereira | df4336c | 2011-10-06 11:10:34 -0700 | [diff] [blame] | 349 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 350 | </style> |
| 351 | |
| 352 | <style name="QuickContactListItemTextWrapperStyle"> |
| 353 | <item name="android:layout_width">0dip</item> |
| 354 | <item name="android:layout_height">wrap_content</item> |
| 355 | <item name="android:layout_weight">1</item> |
| 356 | <item name="android:paddingLeft">16dip</item> |
| 357 | <item name="android:paddingRight">16dip</item> |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 358 | <item name="android:paddingStart">16dip</item> |
| 359 | <item name="android:paddingEnd">16dip</item> |
Mindy Pereira | df4336c | 2011-10-06 11:10:34 -0700 | [diff] [blame] | 360 | <item name="android:gravity">center_vertical</item> |
| 361 | <item name="android:orientation">vertical</item> |
Mindy Pereira | 485b5af | 2011-10-06 14:33:48 -0700 | [diff] [blame] | 362 | </style> |
| 363 | |
Dave Santoro | 6fa7384 | 2011-09-28 14:37:06 -0700 | [diff] [blame] | 364 | <style name="Theme.PhotoSelector" parent="@android:style/Theme.Holo.Light"> |
| 365 | <item name="android:windowBackground">@android:color/transparent</item> |
| 366 | <item name="android:windowFrame">@null</item> |
| 367 | <item name="android:windowContentOverlay">@null</item> |
| 368 | <item name="android:windowAnimationStyle">@null</item> |
| 369 | <item name="android:backgroundDimEnabled">false</item> |
| 370 | <item name="android:windowIsTranslucent">true</item> |
| 371 | <item name="android:windowNoTitle">true</item> |
| 372 | </style> |
Daisuke Miyakawa | 34b901c | 2011-10-18 14:33:41 -0700 | [diff] [blame] | 373 | |
Katherine Kuan | 34bafe0 | 2011-10-20 18:42:56 -0700 | [diff] [blame] | 374 | <style name="GroupMembershipSizeTextAppearance" parent="@android:style/TextAppearance.Small"/> |
Daisuke Miyakawa | 34b901c | 2011-10-18 14:33:41 -0700 | [diff] [blame] | 375 | |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 376 | <style name="PeopleNavigationDropDownTextAppearance"> |
Paul Sliwowski | fd4df88 | 2013-09-10 22:07:24 -0700 | [diff] [blame] | 377 | <item name="android:textColor">@color/primary_text_color</item> |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 378 | <item name="android:textSize">18sp</item> |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 379 | </style> |
| 380 | |
| 381 | <style name="PeopleNavigationDropDownHeaderTextAppearance"> |
Paul Sliwowski | fd4df88 | 2013-09-10 22:07:24 -0700 | [diff] [blame] | 382 | <item name="android:textColor">@color/primary_text_color</item> |
Maurice Chu | 7e9aad1 | 2012-05-16 15:57:13 -0700 | [diff] [blame] | 383 | <item name="android:textSize">18sp</item> |
Maurice Chu | 7f5220e | 2012-05-14 10:00:28 -0700 | [diff] [blame] | 384 | </style> |
Geobio Boo | 4356dac | 2012-08-06 16:28:46 -0700 | [diff] [blame] | 385 | |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 386 | <style name="ExpandingEntryCardStyle"> |
| 387 | <item name="android:elevation">@dimen/expanding_entry_card_elevation</item> |
| 388 | <item name="android:background">@color/expanding_entry_card_background_color</item> |
| 389 | <item name="android:layout_marginBottom">@dimen/expanding_entry_card_marginBottom</item> |
Paul Soulos | d3229ff | 2014-09-09 11:02:59 -0700 | [diff] [blame] | 390 | <item name="android:layout_marginEnd">@dimen/expanding_entry_card_marginStartEnd</item> |
| 391 | <item name="android:layout_marginStart">@dimen/expanding_entry_card_marginStartEnd</item> |
Paul Soulos | 2fad98e | 2014-05-29 16:20:05 -0700 | [diff] [blame] | 392 | <item name="android:orientation">vertical</item> |
| 393 | <item name="android:layout_width">match_parent</item> |
| 394 | <item name="android:layout_height">wrap_content</item> |
| 395 | </style> |
| 396 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 397 | <style name="SpinnerButtonStyle" parent="@android:style/Widget.Material.Spinner.Underlined"> |
Brian Attwell | 6639a9e | 2014-07-15 10:22:58 -0700 | [diff] [blame] | 398 | <!-- When applying the spinner style to a Button we need to disable the shadow animation |
| 399 | on the button since the spinner background is transparent. Otherwise the spinner-button |
| 400 | will look ridiculous. --> |
| 401 | <item name="android:stateListAnimator">@null</item> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 402 | <!-- We want our spinner's to use the same gravity as an EditText, so that they look |
| 403 | visually consistent with other controls in our forms --> |
| 404 | <item name="android:gravity">start|center_vertical</item> |
Brian Attwell | 6639a9e | 2014-07-15 10:22:58 -0700 | [diff] [blame] | 405 | </style> |
Brian Attwell | f303383 | 2014-08-07 14:41:14 -0700 | [diff] [blame] | 406 | |
| 407 | <style name="EditKindSeparatorTextViewStyle" parent="ContactListSeparatorTextViewStyle"> |
| 408 | <item name="android:textAppearance">@style/EditKindTextAppearanceStyle</item> |
| 409 | </style> |
| 410 | |
| 411 | <style name="EditKindTextAppearanceStyle" parent="@android:style/TextAppearance.Small"> |
| 412 | <item name="android:textSize">14sp</item> |
| 413 | <item name="android:textStyle">bold</item> |
| 414 | <item name="android:textAllCaps">true</item> |
| 415 | <item name="android:textColor">#363636</item> |
| 416 | <item name="android:fontFamily">sans-serif</item> |
| 417 | </style> |
Brian Attwell | 859d95f | 2014-08-21 10:20:55 -0700 | [diff] [blame] | 418 | |
| 419 | <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert |
| 420 | since the Alert dialog is private. They are identical anyway. --> |
| 421 | <style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog"> |
| 422 | <item name="android:colorAccent">@color/primary_color</item> |
| 423 | </style> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 424 | |
Wenyi Wang | 86f2a86 | 2015-12-30 16:54:51 -0800 | [diff] [blame] | 425 | <style name="ContactsAlertDialogThemeAppCompat" parent="Theme.AppCompat.Light.Dialog"> |
| 426 | <item name="android:colorAccent">@color/primary_color</item> |
| 427 | <item name="colorAccent">@color/primary_color</item> |
| 428 | </style> |
| 429 | |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 430 | <style name="EditKindIconStyle"> |
| 431 | <item name="android:layout_width">24dp</item> |
| 432 | <item name="android:layout_height">24dp</item> |
| 433 | <item name="android:tint">@color/editor_icon_color</item> |
| 434 | <item name="android:layout_marginStart">16dp</item> |
Brian Attwell | 7e67082 | 2014-11-07 16:36:30 -0800 | [diff] [blame] | 435 | <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have |
| 436 | 4dp of starting padding built in, we set this as 28dp. --> |
| 437 | <item name="android:layout_marginEnd">28dp</item> |
Brian Attwell | 043fba6 | 2014-10-30 11:11:56 -0700 | [diff] [blame] | 438 | <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item> |
| 439 | </style> |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 440 | |
Walter Jang | e6aad76 | 2015-10-22 12:50:02 -0700 | [diff] [blame] | 441 | <style name="EditSelectorIconStyle"> |
| 442 | <item name="android:layout_width">24dp</item> |
| 443 | <item name="android:layout_height">24dp</item> |
| 444 | <item name="android:layout_marginStart">16dp</item> |
| 445 | <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have |
| 446 | 4dp of starting padding built in, we set this as 28dp. --> |
| 447 | <item name="android:layout_marginEnd">28dp</item> |
| 448 | <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item> |
| 449 | </style> |
| 450 | |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 451 | <style name="AccountTypeIconStyle"> |
| 452 | <item name="android:layout_width">12dp</item> |
| 453 | <item name="android:layout_height">12dp</item> |
Walter Jang | 1ee24ed | 2015-09-25 17:49:14 -0700 | [diff] [blame] | 454 | <item name="android:layout_marginStart">4dp</item> |
Walter Jang | 3e5ae0d | 2015-09-20 12:43:37 -0700 | [diff] [blame] | 455 | <item name="android:layout_marginEnd">4dp</item> |
| 456 | </style> |
| 457 | |
| 458 | <style name="AccountTypeNameStyle"> |
| 459 | <item name="android:textSize">10sp</item> |
| 460 | <item name="android:textColor">#363636</item> |
| 461 | <item name="android:fontFamily">sans-serif</item> |
| 462 | </style> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 463 | </resources> |