1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2012 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<resources>
18  <style name="DialtactsTheme" parent="Dialer.ThemeBase.ActionBar">
19    <!-- todo(calderwoodra): fill this in with dialpad theme and call log card theme -->
20  </style>
21
22  <style name="DialpadTheme" parent="DialtactsTheme">
23    <item name="android:textColorPrimary">?android:attr/textColorPrimaryInverse</item>
24  </style>
25
26  <style name="ActionModeStyle" parent="Widget.AppCompat.ActionMode">
27    <item name="android:background">?android:attr/colorPrimary</item>
28    <item name="background">?android:attr/colorPrimary</item>
29    <item name="closeItemLayout">@layout/action_mode_close_button</item>
30  </style>
31
32  <style name="DialtactsSearchBarThemeOverlay" parent="ThemeOverlay.AppCompat.Light"/>
33
34  <!-- Text in the action bar at the top of the screen -->
35  <style name="DialtactsActionBarTitleText"
36    parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title">
37    <item name="android:textColor">?colorTextOnUnthemedDarkBackground</item>
38  </style>
39
40  <!-- Text style for tabs. -->
41  <style name="DialtactsActionBarTabTextStyle"
42    parent="android:style/Widget.Material.Light.ActionBar.TabText">
43    <item name="android:textColor">?colorTextOnUnthemedDarkBackground</item>
44    <item name="android:textSize">@dimen/tab_text_size</item>
45    <item name="android:fontFamily">"sans-serif-medium"</item>
46  </style>
47
48  <style name="CallLogActionStyle">
49    <item name="android:layout_width">match_parent</item>
50    <item name="android:layout_height">@dimen/call_log_action_height</item>
51    <item name="android:background">?android:attr/selectableItemBackground</item>
52    <item name="android:orientation">horizontal</item>
53    <item name="android:gravity">center_vertical</item>
54  </style>
55
56  <style name="CallLogActionTextStyle" parent="Dialer.TextAppearance.Primary.Ellipsize">
57    <item name="android:layout_width">match_parent</item>
58    <item name="android:layout_height">wrap_content</item>
59    <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item>
60    <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item>
61    <item name="android:focusable">true</item>
62    <item name="android:importantForAccessibility">no</item>
63  </style>
64
65  <style name="CallLogActionSupportTextStyle" parent="Dialer.TextAppearance.Secondary.Ellipsize">
66    <item name="android:layout_width">match_parent</item>
67    <item name="android:layout_height">wrap_content</item>
68    <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item>
69    <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item>
70    <item name="android:focusable">true</item>
71    <item name="android:importantForAccessibility">no</item>
72  </style>
73
74  <style name="CallLogActionIconStyle">
75    <item name="android:layout_width">@dimen/call_log_action_icon_dimen</item>
76    <item name="android:layout_height">@dimen/call_log_action_icon_dimen</item>
77    <item name="android:layout_marginStart">@dimen/call_log_action_icon_margin_start</item>
78    <item name="android:tint">?colorIcon</item>
79    <item name="android:importantForAccessibility">no</item>
80  </style>
81
82  <style name="ManageBlockedNumbersStyle" parent="SettingsStyle">
83    <!-- Styles that require AppCompat compatibility, remember to update both sets -->
84    <item name="android:windowActionBarOverlay">true</item>
85    <item name="windowActionBarOverlay">true</item>
86    <item name="android:actionBarStyle">@style/ManageBlockedNumbersActionBarStyle</item>
87    <item name="android:fastScrollTrackDrawable">@null</item>
88  </style>
89
90  <style name="ManageBlockedNumbersActionBarStyle" parent="DialerActionBarBaseStyle">
91    <!-- Styles that require AppCompat compatibility, remember to update both sets -->
92    <item name="android:height">@dimen/action_bar_height</item>
93    <item name="height">@dimen/action_bar_height</item>
94
95    <!-- Styles that require AppCompat compatibility, remember to update both sets -->
96    <item name="android:displayOptions"></item>
97    <item name="displayOptions"></item>
98    <!-- Override ActionBar title offset to keep search box aligned left -->
99    <item name="android:contentInsetStart">0dp</item>
100    <item name="contentInsetStart">0dp</item>
101    <item name="android:contentInsetEnd">0dp</item>
102    <item name="contentInsetEnd">0dp</item>
103
104    <!-- Styles that require AppCompat compatibility, remember to update both sets -->
105    <item name="android:background">?android:attr/colorPrimary</item>
106    <item name="background">?android:attr/colorPrimary</item>
107    <item name="android:titleTextStyle">@style/DialtactsActionBarTitleText</item>
108    <item name="titleTextStyle">@style/DialtactsActionBarTitleText</item>
109    <item name="android:elevation">@dimen/action_bar_elevation</item>
110    <item name="elevation">@dimen/action_bar_elevation</item>
111    <!-- Empty icon -->
112    <item name="android:icon">@android:color/transparent</item>
113    <item name="icon">@android:color/transparent</item>
114  </style>
115
116  <style name="VoicemailPlaybackLayoutButtonStyle">
117    <item name="android:layout_width">56dp</item>
118    <item name="android:layout_height">56dp</item>
119    <item name="android:background">@drawable/oval_ripple</item>
120    <item name="android:padding">8dp</item>
121  </style>
122
123  <style name="DialerFlatButtonStyle" parent="@android:style/Widget.Material.Button">
124    <item name="android:background">?android:attr/selectableItemBackground</item>
125    <item name="android:paddingEnd">@dimen/button_horizontal_padding</item>
126    <item name="android:paddingStart">@dimen/button_horizontal_padding</item>
127    <item name="android:textColor">?android:attr/colorPrimary</item>
128  </style>
129
130  <!-- Style for the 'primary' button in a view. Unlike the DialerFlatButtonStyle, this button -->
131  <!-- is not colored white, to draw more attention to it. -->
132  <style name="DialerPrimaryFlatButtonStyle" parent="@android:style/Widget.Material.Button">
133    <item name="android:background">@drawable/selectable_primary_flat_button</item>
134    <item name="android:paddingEnd">@dimen/button_horizontal_padding</item>
135    <item name="android:paddingStart">@dimen/button_horizontal_padding</item>
136    <item name="android:textColor">@android:color/white</item>
137  </style>
138
139  <style name="BlockedNumbersDescriptionTextStyle">
140    <item name="android:lineSpacingMultiplier">1.43</item>
141    <item name="android:paddingTop">8dp</item>
142    <item name="android:paddingBottom">8dp</item>
143    <item name="android:textSize">@dimen/blocked_number_settings_description_text_size</item>
144  </style>
145
146  <style name="FullWidthDivider">
147    <item name="android:layout_width">match_parent</item>
148    <item name="android:layout_height">1dp</item>
149    <item name="android:background">?android:attr/listDivider</item>
150  </style>
151
152  <style name="TranscriptionQualityRating" parent="Dialer.TextAppearance.Secondary">
153    <item name="android:textStyle">italic</item>
154    <item name="android:paddingRight">20dp</item>
155    <item name="android:minHeight">56dp</item>
156  </style>
157
158  <style name="TranscriptionQualityRatingIcon">
159    <item name="android:paddingTop">8dp</item>
160    <item name="android:paddingBottom">8dp</item>
161    <item name="android:paddingLeft">16dp</item>
162    <item name="android:paddingRight">16dp</item>
163    <item name="android:minHeight">56dp</item>
164  </style>
165
166  <style name="PromoLinkStyle">
167    <item name="android:textColor">?android:attr/colorPrimary</item>
168    <item name="android:fontFamily">"sans-serif-medium"</item>
169  </style>
170</resources>
171