• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
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-->
16<resources xmlns:android="http://schemas.android.com/apk/res/android"
17           xmlns:tools="http://schemas.android.com/tools">
18
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>
23    </style>
24
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>
33        <item name="android:windowNoTitle">true</item>
34        <item name="android:listViewStyle">@style/ListViewStyle</item>
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 -->
37        <item name="android:actionBarItemBackground">
38            @drawable/item_background_material_borderless_dark
39        </item>
40    </style>
41
42    <style name="PeopleTheme" parent="@android:style/Theme.Material.Light.DarkActionBar">
43        <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
44        <!-- Style for the overflow button in the actionbar. -->
45        <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item>
46        <item name="android:actionModeCloseDrawable">@drawable/quantum_ic_close_vd_theme_24</item>
47        <item name="android:textColorPrimary">@color/primary_text_color</item>
48        <item name="android:textColorSecondary">@color/secondary_text_color</item>
49        <item name="android:icon">@android:color/transparent</item>
50        <item name="android:listViewStyle">@style/ListViewStyle</item>
51        <item name="android:windowBackground">@color/background_primary</item>
52        <item name="android:colorPrimaryDark">@color/primary_color_dark</item>
53        <item name="android:colorPrimary">@color/primary_color</item>
54        <item name="android:colorAccent">@color/primary_color</item>
55        <item name="android:alertDialogTheme">@style/ContactsAlertDialogTheme</item>
56        <item name="list_item_height">@dimen/contact_browser_list_item_height</item>
57        <item name="list_section_header_height">24dip</item>
58        <item name="list_item_padding_top">
59            @dimen/contact_browser_list_item_padding_top_or_bottom
60        </item>
61        <item name="list_item_padding_right">32dp</item>
62        <item name="list_item_padding_bottom">
63            @dimen/contact_browser_list_item_padding_top_or_bottom
64        </item>
65        <item name="list_item_padding_left">0dp</item>
66        <item name="list_item_gap_between_image_and_text">
67            @dimen/contact_browser_list_item_gap_between_image_and_text
68        </item>
69        <item name="list_item_gap_between_label_and_data">5dip</item>
70        <item name="list_item_presence_icon_margin">4dip</item>
71        <item name="list_item_presence_icon_size">16dip</item>
72        <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item>
73        <item name="list_item_profile_photo_size">70dip</item>
74        <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item>
75        <item name="list_item_background_color">@color/list_item_pinned_header_color</item>
76        <item name="list_item_header_text_color">@color/people_app_theme_color</item>
77        <item name="list_item_header_text_size">14sp</item>
78        <item name="list_item_header_height">30dip</item>
79        <item name="list_item_header_text_indent">8dip</item>
80        <item name="contact_browser_list_padding_left">0dip</item>
81        <item name="contact_browser_list_padding_right">0dip</item>
82        <item name="contact_browser_background">@color/background_primary</item>
83        <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
84        <item name="list_item_text_offset_top">-2dp</item>
85        <item name="list_item_avatar_offset_top">-1dp</item>
86        <!-- Favorites -->
87        <item name="favorites_padding_bottom">0dip</item>
88        <!-- Popup menu -->
89        <item name="android:popupMenuStyle">@style/PopupMenuStyle</item>
90    </style>
91
92    <style name="LaunchScreenTheme" parent="Theme.AppCompat.Light.DarkActionBar">
93        <item name="android:windowBackground">@drawable/quantum_launchscreen_contacts</item>
94        <!-- Ensure the status bar color matches the background (grey 500) -->
95        <!-- TODO(yaolu): Switch to use quantum_grey if in Google3 -->
96        <item name="android:colorPrimaryDark">#9e9e9e</item>
97    </style>
98
99    <style name="PeopleActivityTheme" parent="@style/PeopleThemeAppCompat">
100        <item name="windowActionBar">false</item>
101        <item name="windowNoTitle">true</item>
102        <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item>
103    </style>
104
105    <style name="PeopleThemeAppCompat" parent="Theme.AppCompat.Light.DarkActionBar">
106        <!-- Styles that require AppCompat compatibility, remember to update both sets -->
107        <item name="android:actionBarStyle">@style/ContactsActionBarStyleAppCompat</item>
108        <item name="actionBarStyle">@style/ContactsActionBarStyleAppCompat</item>
109        <item name="android:actionButtonStyle">@style/ContactsActionButtonStyle</item>
110        <item name="actionButtonStyle">@style/ContactsActionButtonStyle</item>
111        <!-- Style for the overflow button in the actionbar. -->
112        <item name="android:actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item>
113        <item name="actionOverflowButtonStyle">@style/ContactsActionBarOverflowQP</item>
114        <item name="toolbarNavigationButtonStyle">@style/ContactToolbarNavigationButtonStyle</item>
115        <item name="android:actionModeCloseDrawable">@drawable/quantum_ic_close_vd_theme_24</item>
116        <item name="android:textColorPrimary">@color/primary_text_color</item>
117        <item name="android:textColorSecondary">@color/secondary_text_color</item>
118        <item name="android:icon">@android:color/transparent</item>
119        <item name="android:listViewStyle">@style/ListViewStyle</item>
120        <item name="android:windowBackground">@color/background_primary</item>
121        <item name="android:colorPrimaryDark">@color/primary_color_dark</item>
122        <item name="colorPrimaryDark">@color/primary_color_dark</item>
123        <item name="android:colorPrimary">@color/primary_color</item>
124        <item name="colorPrimary">@color/primary_color</item>
125        <item name="android:colorAccent">@color/primary_color</item>
126        <item name="colorAccent">@color/primary_color</item>
127        <item name="android:alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item>
128        <item name="alertDialogTheme">@style/ContactsAlertDialogThemeAppCompat</item>
129        <item name="list_item_height">@dimen/contact_browser_list_item_height</item>
130        <item name="list_section_header_height">24dip</item>
131        <item name="list_item_padding_top">
132            @dimen/contact_browser_list_item_padding_top_or_bottom
133        </item>
134        <item name="list_item_padding_right">32dp</item>
135        <item name="list_item_padding_bottom">
136            @dimen/contact_browser_list_item_padding_top_or_bottom
137        </item>
138        <item name="list_item_padding_left">0dp</item>
139        <item name="list_item_gap_between_image_and_text">
140            @dimen/contact_browser_list_item_gap_between_image_and_text
141        </item>
142        <item name="list_item_gap_between_indexer_and_image">
143            @dimen/contact_browser_list_item_gap_between_indexer_and_image
144        </item>
145        <item name="list_item_gap_between_label_and_data">5dip</item>
146        <item name="list_item_presence_icon_margin">4dip</item>
147        <item name="list_item_presence_icon_size">16dip</item>
148        <item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item>
149        <item name="list_item_profile_photo_size">70dip</item>
150        <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item>
151        <item name="list_item_background_color">@color/list_item_pinned_header_color</item>
152        <item name="list_item_header_text_color">@color/people_app_theme_color</item>
153        <item name="list_item_header_text_size">14sp</item>
154        <item name="list_item_header_height">30dip</item>
155        <item name="list_item_header_text_indent">8dip</item>
156        <item name="contact_browser_list_padding_left">0dip</item>
157        <item name="contact_browser_list_padding_right">0dip</item>
158        <item name="contact_browser_background">@color/background_primary</item>
159        <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
160        <item name="list_item_text_offset_top">-2dp</item>
161        <item name="list_item_avatar_offset_top">-1dp</item>
162        <!-- Favorites -->
163        <item name="favorites_padding_bottom">0dip</item>
164        <item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
165        <!-- Popup menu -->
166        <item name="android:popupMenuStyle">@style/PopupMenuStyleAppCompat</item>
167        <item name="popupMenuStyle">@style/PopupMenuStyleAppCompat</item>
168    </style>
169
170    <style name="PopupMenuStyle" parent="@android:style/Widget.PopupMenu">
171        <item name="android:popupBackground">@android:color/white</item>
172    </style>
173
174    <style name="PopupMenuStyleAppCompat" parent="Widget.AppCompat.PopupMenu">
175        <item name="android:popupBackground">@android:color/white</item>
176    </style>
177
178    <style name="ContactsActionButtonStyle" parent="Widget.AppCompat.ActionButton">
179        <item name="android:paddingStart">16dp</item>
180        <item name="android:paddingEnd">16dp</item>
181    </style>
182
183    <style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
184        <item name="spinBars">false</item>
185        <item name="color">@android:color/white</item>
186        <item name="android:color">@android:color/white</item>
187    </style>
188
189    <!-- Use the non-light style so that the up button & icons aren't black. If we use the
190         Light style, then it is impossible to tint the homeAsUp icon anything other than black -->
191    <style name="ContactsActionBarStyle" parent="@android:style/Widget.Material.ActionBar">
192        <item name="android:background">@color/actionbar_background_color</item>
193        <item name="android:titleTextStyle">@style/ContactsActionBarTitleText</item>
194        <item name="android:backgroundStacked">@color/actionbar_background_color</item>
195        <!-- Empty icon -->
196        <item name="android:icon">@android:color/transparent</item>
197    </style>
198
199    <style name="ContactsActionBarStyleAppCompat"
200        parent="@style/Widget.AppCompat.ActionBar.Solid">
201        <!-- Styles that require AppCompat compatibility, remember to update both sets -->
202        <item name="android:background">@color/actionbar_background_color</item>
203        <item name="background">@color/actionbar_background_color</item>
204        <item name="android:titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item>
205        <item name="titleTextStyle">@style/ContactsActionBarTitleTextAppCompat</item>
206        <item name="android:backgroundStacked">@color/actionbar_background_color</item>
207        <item name="backgroundStacked">@color/actionbar_background_color</item>
208        <!-- Empty icon -->
209        <item name="android:icon">@android:color/transparent</item>
210        <item name="icon">@android:color/transparent</item>
211    </style>
212
213    <style name="EditorActionBarStyle" parent="@style/ContactsToolbarStyle">
214        <item name="android:contentInsetStart">72dp</item>
215        <item name="android:contentInsetStartWithNavigation">72dp</item>
216        <item name="android:titleTextAppearance">@style/ContactsActionBarTitleText</item>
217    </style>
218
219    <!-- When this style was added, android:toolbarStyle was private. Therefore, this style
220         must be directly applied to every toolbar -->
221    <style name="ContactsToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
222        <!-- Styles that require AppCompat compatibility, remember to update both sets -->
223        <item name="android:titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item>
224        <item name="titleTextAppearance">@style/ContactsActionBarTitleTextAppCompat</item>
225    </style>
226
227    <style name="LightToolbarNavigationButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation">
228        <item name="android:tint">?android:textColorSecondary</item>
229    </style>
230
231    <style name="LightToolbarThemeOverlay" parent="@style/ThemeOverlay.AppCompat.ActionBar">
232        <item name="toolbarNavigationButtonStyle">@style/LightToolbarNavigationButtonStyle</item>
233    </style>
234
235    <style name="LightToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
236        <item name="android:background">@color/contextual_selection_bar_color</item>
237        <item name="background">@color/contextual_selection_bar_color</item>
238        <item name="android:titleTextAppearance">@style/ContactsActionBarTitleTextBlack</item>
239        <item name="titleTextAppearance">@style/ContactsActionBarTitleTextBlack</item>
240    </style>
241
242    <!-- Text in the action bar at the top of the screen -->
243    <style name="ContactsActionBarTitleText"
244        parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title">
245        <item name="android:textSize">20dp</item>
246        <item name="android:textColor">@color/actionbar_text_color</item>
247    </style>
248
249    <style name="ContactsActionBarTitleTextAppCompat" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
250        <item name="android:textSize">20dp</item>
251        <item name="android:textColor">@color/actionbar_text_color</item>
252    </style>
253
254    <style name="ContactsActionBarTitleTextBlack" parent="@style/ContactsActionBarTitleTextAppCompat">
255        <item name="android:textColor">@color/actionbar_text_color_black</item>
256    </style>
257
258    <!-- Action bar overflow menu icon. -->
259    <style name="ContactsActionBarOverflowQP"
260        parent="Widget.AppCompat.Light.ActionButton.Overflow">
261        <item name="android:src">@drawable/quantum_ic_more_vert_vd_theme_24</item>
262        <item name="android:tint">@color/action_bar_button_text_color</item>
263    </style>
264
265    <!-- Toolbar navigation button. -->
266    <style name="ContactToolbarNavigationButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation">
267        <item name="android:tint">@color/action_bar_button_text_color</item>
268    </style>
269
270    <style name="ContactPickerTheme" parent="PeopleActivityTheme">
271    </style>
272
273    <style name="ContactsPreferencesTheme" parent="@style/PeopleThemeAppCompat">
274        <item name="android:listViewStyle">@style/ListViewStyle</item>
275    </style>
276
277    <style name="ContactListFilterTheme" parent="@style/PeopleTheme">
278        <item name="android:listViewStyle">@style/ListViewStyle</item>
279        <item name="android:actionButtonStyle">@style/FilterActionButtonStyle</item>
280    </style>
281
282    <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent.NoTitleBar">
283    </style>
284
285    <style name="NonPhoneDialogTheme" parent="@android:Theme.Material.Light.Dialog">
286    </style>
287
288    <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.Material.Light.Dialog.MinWidth">
289        <item name="android:windowCloseOnTouchOutside">true</item>
290    </style>
291
292    <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.Material.Light.Dialog.NoActionBar.MinWidth">
293        <item name="android:windowCloseOnTouchOutside">true</item>
294        <item name="android:textColorPrimary">@color/primary_text_color</item>
295        <item name="android:textColorSecondary">@color/secondary_text_color</item>
296        <item name="android:listViewStyle">@style/ListViewStyle</item>
297        <item name="android:colorAccent">@color/primary_color</item>
298    </style>
299
300    <style name="SelectableItem" parent="@android:style/Theme.Material.Light">
301        <item name="android:background">?android:attr/selectableItemBackground</item>
302    </style>
303
304    <style name="ExpandingEntryCardStyle">
305        <item name="android:elevation">@dimen/expanding_entry_card_elevation</item>
306        <item name="android:background">@color/expanding_entry_card_background_color</item>
307        <item name="android:layout_marginBottom">@dimen/expanding_entry_card_marginBottom</item>
308        <item name="android:layout_marginEnd">@dimen/expanding_entry_card_marginStartEnd</item>
309        <item name="android:layout_marginStart">@dimen/expanding_entry_card_marginStartEnd</item>
310        <item name="android:orientation">vertical</item>
311        <item name="android:layout_width">match_parent</item>
312        <item name="android:layout_height">wrap_content</item>
313    </style>
314
315    <style name="SpinnerButtonStyle" parent="@android:style/Widget.Material.Spinner.Underlined">
316        <!-- When applying the spinner style to a Button we need to disable the shadow animation
317            on the button since the spinner background is transparent. Otherwise the spinner-button
318            will look ridiculous. -->
319        <item name="android:stateListAnimator">@null</item>
320        <!-- We want our spinner's to use the same gravity as an EditText, so that they look
321            visually consistent with other controls in our forms -->
322        <item name="android:gravity">start|center_vertical</item>
323    </style>
324
325    <style name="EditKindSeparatorTextViewStyle" parent="ContactListSeparatorTextViewStyle">
326        <item name="android:textAppearance">@style/EditKindTextAppearanceStyle</item>
327    </style>
328
329    <style name="EditKindTextAppearanceStyle" parent="@android:style/TextAppearance.Small">
330        <item name="android:textSize">14sp</item>
331        <item name="android:textStyle">bold</item>
332        <item name="android:textAllCaps">true</item>
333        <item name="android:textColor">#363636</item>
334        <item name="android:fontFamily">sans-serif</item>
335    </style>
336
337    <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert
338        since the Alert dialog is private. They are identical anyway. -->
339    <style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
340        <item name="android:colorAccent">@color/primary_color</item>
341    </style>
342
343    <style name="ContactsAlertDialogThemeAppCompat" parent="Theme.AppCompat.Light.Dialog.MinWidth">
344        <item name="android:colorAccent">@color/primary_color</item>
345        <item name="colorAccent">@color/primary_color</item>
346    </style>
347
348    <style name="EditKindIconStyle">
349        <item name="android:layout_width">24dp</item>
350        <item name="android:layout_height">24dp</item>
351        <item name="android:tint">@color/editor_icon_color</item>
352        <item name="android:layout_marginStart">16dp</item>
353        <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have
354            4dp of starting padding built in, we set this as 28dp. -->
355        <item name="android:layout_marginEnd">28dp</item>
356        <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item>
357    </style>
358
359    <style name="EditSelectorIconStyle">
360        <item name="android:layout_width">24dp</item>
361        <item name="android:layout_height">24dp</item>
362        <item name="android:layout_marginStart">16dp</item>
363        <!-- We want 32dp of padding between these icon's and EditText's. Since EditText's have
364            4dp of starting padding built in, we set this as 28dp. -->
365        <item name="android:layout_marginEnd">28dp</item>
366        <item name="android:layout_marginTop">@dimen/editor_kind_icon_top_margin</item>
367    </style>
368
369    <style name="AccountTypeIconStyle">
370        <item name="android:layout_width">12dp</item>
371        <item name="android:layout_height">12dp</item>
372        <item name="android:layout_marginStart">4dp</item>
373        <item name="android:layout_marginEnd">4dp</item>
374    </style>
375
376    <style name="AccountTypeNameStyle">
377        <item name="android:textSize">10sp</item>
378        <item name="android:textColor">#363636</item>
379        <item name="android:fontFamily">sans-serif</item>
380    </style>
381
382    <style name="NavigationDrawerMenuItemTextAppearance">
383        <item name="android:ellipsize">end</item>
384    </style>
385
386    <!-- Text style for empty states (no account view, empty label). -->
387    <style name="EmptyStateTextStyle">
388        <item name="android:textSize">18sp</item>
389        <item name="android:textColor">#000000</item>
390        <item name="android:alpha">0.54</item>
391        <item name="android:fontFamily">sans-serif</item>
392    </style>
393
394    <!-- Button style for main contacts no account empty view. -->
395    <style name="NoAccountViewButtonStyle" parent="@style/Widget.AppCompat.Button.Borderless">
396        <item name="android:textSize">14sp</item>
397        <item name="android:textColor">@color/primary_color</item>
398        <item name="android:fontFamily">sans-serif-medium</item>
399        <item name="android:textAllCaps">true</item>
400    </style>
401
402    <!-- Add contacts button style for empty states. -->
403    <style name="AddContactsButtonStyle" parent="@style/Widget.AppCompat.Button.Borderless">
404        <item name="android:textSize">16sp</item>
405        <item name="android:textColor">@color/primary_color</item>
406        <item name="android:fontFamily">sans-serif-medium</item>
407        <item name="android:textAllCaps">true</item>
408    </style>
409
410    <style name="SectionHeaderStyle" parent="@android:style/TextAppearance.Large">
411        <item name="android:textSize">16sp</item>
412        <item name="android:textAllCaps">true</item>
413        <item name="android:textColor">@color/section_header_text_color</item>
414        <item name="android:textStyle">bold</item>
415    </style>
416
417    <style name="DirectoryHeaderStyle" parent="@android:style/TextAppearance.Small">
418        <item name="android:textSize">14sp</item>
419        <item name="android:textColor">@color/dialtacts_secondary_text_color</item>
420        <item name="android:fontFamily">sans-serif-medium</item>
421    </style>
422
423    <!-- TextView style used for headers.
424
425This is similar to ?android:attr/listSeparatorTextView but uses different
426background and text color. See also android:style/Widget.Holo.TextView.ListSeparator
427(which is private, so we cannot specify it as a parent style).  -->
428    <style name="ContactListSeparatorTextViewStyle">
429        <item name="android:layout_width">match_parent</item>
430        <item name="android:layout_height">wrap_content</item>
431        <!-- See comments for @dimen/list_section_divider_min_height -->
432        <item name="android:minHeight">@dimen/list_section_divider_min_height</item>
433        <item name="android:textAppearance">@style/DirectoryHeaderStyle</item>
434        <item name="android:gravity">center_vertical</item>
435        <item name="android:paddingLeft">8dip</item>
436        <item name="android:paddingStart">8dip</item>
437        <item name="android:paddingTop">4dip</item>
438        <item name="android:paddingBottom">4dip</item>
439        <item name="android:ellipsize">end</item>
440        <item name="android:singleLine">true</item>
441        <item name="android:textAllCaps">true</item>
442    </style>
443
444    <style name="TextAppearanceMedium" parent="@android:style/TextAppearance.Medium">
445        <item name="android:textSize">16sp</item>
446        <item name="android:textColor">#000000</item>
447    </style>
448
449    <style name="TextAppearanceSmall" parent="@android:style/TextAppearance.Small">
450        <item name="android:textSize">14sp</item>
451        <item name="android:textColor">#737373</item>
452    </style>
453
454    <style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView">
455        <item name="android:overScrollMode">always</item>
456    </style>
457
458    <!-- Adding padding to action button doesn't move it to left, we increase the button width to
459     make margin between the button and screen edge 16dp -->
460    <style name="FilterActionButtonStyle" parent="@android:Widget.ActionButton">
461        <item name="android:minWidth">@dimen/contact_filter_action_button_width</item>
462        <item name="android:textColor">@color/actionbar_text_color</item>
463    </style>
464
465    <style name="CustomContactListFilterView" parent="ContactListFilterTheme">
466        <item name="android:layout_width">match_parent</item>
467        <item name="android:layout_height">match_parent</item>
468    </style>
469
470    <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Material.Light">
471        <item name="android:windowBackground">@null</item>
472        <item name="android:windowContentOverlay">@null</item>
473        <item name="android:windowAnimationStyle">@null</item>
474        <item name="android:windowNoTitle">true</item>
475        <!-- Activities that use this theme are background activities without obvious displays.
476            However, some also have dialogs. Therefore, it doesn't make sense to set this true.-->
477        <item name="android:windowNoDisplay">false</item>
478        <item name="android:windowIsFloating">true</item>
479    </style>
480
481    <style name="Theme.CallSubjectDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
482        <item name="android:layout_width">match_parent</item>
483        <item name="android:layout_height">match_parent</item>
484
485        <!-- No backgrounds, titles or window float -->
486        <item name="android:windowIsTranslucent">true</item>
487        <item name="android:windowNoTitle">true</item>
488        <item name="android:windowFullscreen">false</item>
489        <item name="android:windowIsFloating">true</item>
490        <item name="android:windowBackground">@android:color/transparent</item>
491        <item name="android:windowDrawsSystemBarBackgrounds">false</item>
492        <item name="android:windowContentOverlay">@null</item>
493        <item name="android:windowElevation">0dp</item>
494    </style>
495
496    <!-- Transparent/blank activity -->
497    <style name="TransparentThemeAppCompat" parent="@style/PeopleActivityTheme">
498        <item name="android:windowBackground">@android:color/transparent</item>
499        <item name="android:windowIsTranslucent">true</item>
500        <item name="android:windowContentOverlay">@null</item>
501        <item name="android:windowNoTitle">true</item>
502        <item name="android:windowIsFloating">true</item>
503        <item name="android:backgroundDimEnabled">false</item>
504    </style>
505
506    <style name="FullScreenDialogAnimationStyle">
507        <item name="android:windowEnterAnimation">@anim/slide_and_fade_in</item>
508        <item name="android:windowExitAnimation">@anim/slide_and_fade_out</item>
509    </style>
510
511    <style name="PeopleThemeAppCompat.FullScreenDialog">
512        <item name="android:windowNoTitle">true</item>
513        <item name="android:windowActionBar">false</item>
514        <item name="windowNoTitle">true</item>
515        <item name="windowActionBar">false</item>
516        <item name="android:listSelector">?android:attr/listChoiceBackgroundIndicator</item>
517        <item name="android:windowAnimationStyle">@style/FullScreenDialogAnimationStyle</item>
518    </style>
519
520    <style name="PeopleThemeAppCompat.FullScreenDialog.SimImportActivity">
521        <!-- This is necessary because the window is partially transparent during the enter
522             and exit animations -->
523        <item name="android:windowIsTranslucent">true</item>
524        <item name="android:statusBarColor">@color/contextual_selection_bar_status_bar_color</item>
525    </style>
526
527    <!-- Style for item in navigation drawer -->
528    <style name="DrawerItemStyle">
529        <item name="android:layout_width">match_parent</item>
530        <item name="android:layout_height">@dimen/drawer_item_fixed_height</item>
531        <item name="android:layout_gravity">center_vertical</item>
532        <item name="android:background">@drawable/drawer_item_background</item>
533        <item name="android:orientation">horizontal</item>
534        <item name="android:paddingStart">@dimen/drawer_side_padding</item>
535    </style>
536
537    <style name="DrawerPrimaryItemStyle" parent="DrawerItemStyle">
538        <item name="android:paddingEnd">@dimen/drawer_item_text_margin</item>
539    </style>
540
541    <!-- Style for item icon in navigation drawer -->
542    <style name="DrawerItemIconStyle">
543        <item name="android:layout_width">@dimen/drawer_item_icon_size</item>
544        <item name="android:layout_height">@dimen/drawer_item_icon_size</item>
545        <item name="android:layout_gravity">center</item>
546        <item name="android:gravity">center</item>
547        <item name="android:scaleType">center</item>
548    </style>
549
550    <!-- Style for primary item text in navigation drawer -->
551    <style name="DrawerItemTextStyle" parent="DrawerTextStyle">
552        <item name="android:textColor">@color/primary_text_color</item>
553        <item name="android:layout_width">0dip</item>
554        <item name="android:layout_height">wrap_content</item>
555        <item name="android:layout_weight">1</item>
556        <item name="android:textAlignment">viewStart</item>
557        <item name="android:layout_marginStart">@dimen/drawer_item_text_margin</item>
558        <item name="android:layout_marginEnd">@dimen/drawer_item_text_margin</item>
559    </style>
560
561    <style name="DrawerTextStyle">
562        <item name="android:fontFamily" tools:ignore="NewApi">sans-serif-medium</item>
563        <item name="android:gravity">center_vertical</item>
564        <item name="android:layout_gravity">center_vertical</item>
565        <item name="android:textSize">14sp</item>
566        <item name="android:singleLine">true</item>
567        <item name="android:ellipsize">end</item>
568    </style>
569
570    <style name="DrawerItemTextActiveStyle">
571        <item name="android:textColor">@color/primary_color</item>
572        <item name="android:textStyle">bold</item>
573    </style>
574
575    <style name="DrawerItemTextInactiveStyle">
576        <item name="android:textColor">@color/quantum_black_text</item>
577        <item name="android:textStyle">bold</item>
578    </style>
579
580    <style name="DrawerHeaderTextStyle" parent="DrawerTextStyle">
581        <item name="android:layout_gravity">center_vertical|start</item>
582        <item name="android:paddingTop">12dp</item>
583        <item name="android:paddingBottom">12dp</item>
584        <item name="android:textColor">@color/quantum_black_secondary_text</item>
585        <item name="android:textSize">14sp</item>
586    </style>
587
588    <style name="DrawerBadgeStyle" parent="DrawerHeaderTextStyle">
589        <item name="android:layout_gravity">center_vertical|end</item>
590    </style>
591
592    <style name="DrawerHeaderItemStyle">
593        <item name="android:paddingStart">@dimen/drawer_side_padding</item>
594        <item name="android:paddingEnd">@dimen/drawer_label_header_end_padding</item>
595    </style>
596</resources>
597