blob: 584c3aa2ea6bbf3fbb9a07d8f7bfb777db190643 [file] [log] [blame]
Santos Cordon7d4ddf62013-07-10 11:58:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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
17<resources>
18 <drawable name="grayBg">#FF333333</drawable>
19
20 <style name="IccPanel">
21 <item name="android:windowFrame">@null</item>
22 <item name="android:windowBackground">@drawable/grayBg</item>
23 </style>
24
25 <style name="info_label">
26 <item name="android:layout_height">wrap_content</item>
27 <item name="android:layout_width">wrap_content</item>
28 <item name="android:textAppearance">@style/TextAppearance.info_label</item>
29 <item name="android:paddingEnd">4dip</item>
30 </style>
31
32 <style name="info_layout">
33 <item name="android:orientation">vertical</item>
34 <item name="android:paddingStart">10dip</item>
35 <item name="android:paddingTop">10dip</item>
36 <item name="android:paddingEnd">10dip</item>
37 <item name="android:paddingBottom">10dip</item>
38 <item name="android:layout_width">match_parent</item>
39 <item name="android:layout_height">match_parent</item>
40 </style>
41
42 <style name="entry_layout">
43 <item name="android:orientation">vertical</item>
44 <item name="android:layout_width">wrap_content</item>
45 <item name="android:layout_height">wrap_content</item>
46 </style>
47
Bonian Chenf4213c52019-12-13 14:13:11 +080048 <style name="RadioInfo_entry_layout">
49 <item name="android:orientation">horizontal</item>
50 <item name="android:layout_width">wrap_content</item>
51 <item name="android:layout_height">wrap_content</item>
52 </style>
53
54 <style name="info_value">
55 <item name="android:layout_height">wrap_content</item>
56 <item name="android:layout_width">wrap_content</item>
57 <item name="android:textAppearance">@style/TextAppearance.info_value</item>
58 </style>
59
60 <style name="form_value">
61 <item name="android:layout_height">wrap_content</item>
62 <item name="android:layout_width">match_parent</item>
63 </style>
64
Santos Cordon7d4ddf62013-07-10 11:58:08 -070065 <style name="TextAppearance" parent="android:TextAppearance">
66 </style>
67
68 <style name="TextAppearance.info_label">
69 <item name="android:textSize">14sp</item>
70 <item name="android:textStyle">bold</item>
71 </style>
72
Bonian Chenf4213c52019-12-13 14:13:11 +080073 <style name="TextAppearance.info_value">
74 <item name="android:textSize">14sp</item>
75 <item name="android:textStyle">normal</item>
76 </style>
77
Santos Cordon7d4ddf62013-07-10 11:58:08 -070078 <!-- Preference Style for the phone number preferences -->
79 <style name="EditPhoneNumberPreference">
80 <item name="enableButtonText">@string/enable</item>
81 <item name="disableButtonText">@string/disable</item>
82 <item name="changeNumButtonText">@string/change_num</item>
83 <item name="confirmMode">activation</item>
84 </style>
85
86 <!-- OTA Call Card styles -->
87 <style name="ccOtaButtonBar">
88 <!-- TODO: change height to 'wrap_content' when layout bug is fixed -->
Yorke Lee1c881a02013-07-31 09:04:42 -070089 <item name="android:layout_height">60dip</item>
Santos Cordon7d4ddf62013-07-10 11:58:08 -070090 <item name="android:layout_width">match_parent</item>
91 <item name="android:background">@android:drawable/bottom_bar</item>
92 </style>
93
94 <style name="ccOtaButton">
95 <item name="android:layout_width">150dip</item>
96 <item name="android:layout_height">wrap_content</item>
97 <item name="android:layout_marginTop">5dip</item>
98 <item name="android:layout_marginBottom">5dip</item>
99 </style>
100
101 <style name="ccOtaNextButton" parent="ccOtaButton">
102 <!-- <item name="android:drawableEnd">@drawable/ic_btn_next</item>
103 <item name="android:drawablePadding">10dip</item>
104 -->
105 <item name="android:layout_alignParentBottom">true</item>
106 <item name="android:layout_alignParentEnd">true</item>
107 <item name="android:layout_marginEnd">4dip</item>
108 </style>
109
110 <style name="ccOtaSkipButton" parent="ccOtaButton">
111 <item name="android:layout_alignParentBottom">true</item>
112 <item name="android:layout_alignParentStart">true</item>
113 <item name="android:layout_marginStart">4dip</item>
114 </style>
115
116 <style name="ccOtaWizardTitle">
117 <item name="android:textSize">22sp</item>
118 <item name="android:textColor">@color/ota_title_color</item>
119 </style>
120
121 <style name="ccOtaTextPrimary">
122 <item name="android:textColor">?android:attr/textColorPrimary</item>
123 <item name="android:textSize">17sp</item>
124 </style>
125
126 <!-- Buttons in the main "button row" of the in-call onscreen touch UI. -->
127 <style name="InCallButton">
128 <item name="android:layout_width">0px</item>
129 <item name="android:layout_height">@dimen/in_call_button_height</item>
130 <item name="android:layout_weight">1</item>
131 <item name="android:background">?android:attr/selectableItemBackground</item>
132 </style>
133
134 <!-- "Compound button" variation of InCallButton.
135 These buttons have the concept of two states: checked and unchecked.
136 (This style is just like "InCallButton" except that we also
137 clear out android:textOn and android:textOff, to avoid the default
138 text label behavior of the ToggleButton class.) -->
139 <style name="InCallCompoundButton" parent="InCallButton">
140 <item name="android:textOn">@null</item>
141 <item name="android:textOff">@null</item>
142 </style>
143
144 <style name="VerticalSeparator">
145 <item name="android:layout_width">2dp</item>
146 <item name="android:layout_height">match_parent</item>
147 <item name="android:background">@android:color/black</item>
148 </style>
149
150 <!-- "End" button; similar to InCallButton. -->
151 <style name="InCallEndButton">
152 <item name="android:layout_width">0dip</item>
153 <item name="android:layout_height">@dimen/in_call_end_button_height</item>
154 <item name="android:layout_weight">1</item>
155 </style>
156
157 <!-- Buttons in extra button row. -->
158 <style name="InCallExtraRowButton">
159 <item name="android:layout_width">@dimen/extra_row_button_width</item>
160 <item name="android:layout_height">@dimen/extra_row_button_height</item>
161 <item name="android:background">@null</item>
162 </style>
163
164 <!-- Text label drawn alongside buttons in the "extra button row" of
165 the in-call onscreen touch UI. -->
166 <style name="InCallExtraRowButtonLabel">
167 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
168 <item name="android:textColor">@color/incall_call_banner_text_color</item>
169 <item name="android:textAllCaps">true</item>
170 <item name="android:textStyle">bold</item>
171 <item name="android:layout_width">wrap_content</item>
172 <item name="android:layout_height">wrap_content</item>
173 <item name="android:layout_gravity">center_vertical</item>
174 <item name="android:layout_marginStart">5dip</item>
175 <item name="android:layout_marginEnd">5dip</item>
176 </style>
177
Alan Viverette1d920242014-06-06 15:29:41 -0700178 <style name="SettingsLight" parent="android:Theme.Material.Light">
Youming Ye4c804ef2019-04-12 13:11:28 -0700179 <item name="android:forceDarkAllowed">true</item>
Yorke Lee1c881a02013-07-31 09:04:42 -0700180 <item name="android:windowBackground">@color/phone_settings_background_color</item>
Tyler Gunn6e922082014-06-03 13:29:28 -0700181 <item name="android:windowContentOverlay">@null</item>
Yorke Lee1c881a02013-07-31 09:04:42 -0700182 <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
Nancy Chen323f3212014-07-18 16:07:20 -0700183 <item name="android:actionMenuTextColor">@color/phone_settings_actionbar_text_color</item>
Tyler Gunn70af2702014-03-07 15:31:25 -0800184 <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item>
Tyler Gunn6e922082014-06-03 13:29:28 -0700185 <item name="android:windowActionBarOverlay">false</item>
186 <item name="android:colorPrimaryDark">@color/actionbar_background_color_dark</item>
187 <!-- Setting text. -->
Andrew Leea3508492014-12-17 13:03:23 -0800188 <item name="android:textColorPrimary">@color/settings_text_color_primary</item>
Tyler Gunn6e922082014-06-03 13:29:28 -0700189 <!-- Setting description. -->
Andrew Leea3508492014-12-17 13:03:23 -0800190 <item name="android:textColorSecondary">@color/settings_text_color_secondary</item>
Yorke Lee1c881a02013-07-31 09:04:42 -0700191 </style>
192
Andrew Leecc6d51e2014-08-21 11:59:29 -0700193 <style name="DialerSettingsLight" parent="SettingsLight">
Youming Ye9dbbd012019-03-04 10:53:00 -0800194 <!-- Action bar.-->
Youming Ye9dbbd012019-03-04 10:53:00 -0800195 <item name="android:windowBackground">@color/dialer_background_color</item>
196 <item name="android:actionModeBackground">@color/dialer_background_color</item>
197 <item name="android:windowLightStatusBar">true</item>
198 <!-- Navigation bar.-->
199 <item name="android:navigationBarColor">@color/dialer_background_color</item>
200 <item name="android:navigationBarDividerColor">@color/dialer_divider_color</item>
201 <item name="android:windowLightNavigationBar">true</item>
Andrew Leecc6d51e2014-08-21 11:59:29 -0700202 <item name="android:colorAccent">@color/dialer_theme_color</item>
203 <item name="android:dialogTheme">@style/DialerAlertDialogTheme</item>
rongmei.li40e39112019-07-23 11:28:47 +0800204 <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item>
Andrew Leecc6d51e2014-08-21 11:59:29 -0700205 </style>
206
207 <style name="DialerAlertDialogTheme"
208 parent="@android:style/Theme.Material.Light.Dialog">
Youming Ye4c804ef2019-04-12 13:11:28 -0700209 <item name="android:forceDarkAllowed">true</item>
Andrew Leecc6d51e2014-08-21 11:59:29 -0700210 </style>
211
Yorke Leee0f2b792014-10-15 12:30:44 -0700212 <style name="Empty" parent="@android:style/Theme.Material.Light">
Youming Ye4c804ef2019-04-12 13:11:28 -0700213 <item name="android:forceDarkAllowed">true</item>
Yorke Lee71028d02013-08-28 12:24:01 -0700214 <item name="android:windowIsTranslucent">true</item>
215 <item name="android:windowBackground">@android:color/transparent</item>
216 <item name="android:windowContentOverlay">@null</item>
217 <item name="android:windowNoTitle">true</item>
218 <item name="android:windowIsFloating">true</item>
219 <item name="android:backgroundDimEnabled">true</item>
220 </style>
221
Tyler Gunn70af2702014-03-07 15:31:25 -0800222 <!-- Style for the call settings action bar. Should be kept in sync with Dialer. -->
Brian Attwell28fd9772014-09-11 17:08:33 -0700223 <style name="DialtactsActionBarStyle" parent="@style/TelephonyActionBarStyle">
224 <!-- Shift the title text to the right -->
225 <item name="android:contentInsetStart">@dimen/actionbar_contentInsetStart</item>
226 </style>
227
228 <style name="TelephonyActionBarStyle" parent="android:Widget.Material.ActionBar">
Andrew Leece8ae2a2014-09-10 10:41:48 -0700229 <item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
Andrew Lee52f61312014-04-15 16:14:17 -0700230 <item name="android:background">@color/actionbar_background_color</item>
Tyler Gunn70af2702014-03-07 15:31:25 -0800231 <item name="android:titleTextStyle">@style/DialtactsActionBarTitleText</item>
Tyler Gunn6e922082014-06-03 13:29:28 -0700232 <item name="android:height">@dimen/action_bar_height</item>
Nancy Chen0336d812014-09-09 18:00:01 -0700233 <item name="android:elevation">@dimen/action_bar_elevation</item>
Yorke Lee88bf3cc2013-09-10 18:45:12 -0700234 <!-- Empty icon -->
235 <item name="android:icon">@android:color/transparent</item>
Yorke Lee1c881a02013-07-31 09:04:42 -0700236 </style>
237
Tyler Gunn70af2702014-03-07 15:31:25 -0800238 <!-- Text in the action bar at the top of the screen. Should be kept in sync with Dialer. -->
239 <style name="DialtactsActionBarTitleText"
Nancy Chen0336d812014-09-09 18:00:01 -0700240 parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title">
Youming Ye9dbbd012019-03-04 10:53:00 -0800241 <item name="android:textColor">@color/dialer_primary_text_color</item>
242 <item name="android:textSize">@dimen/dialer_head1_font_size</item>
243 <item name="android:fontFamily">sans-serif-regular</item>
Tyler Gunn70af2702014-03-07 15:31:25 -0800244 </style>
245
246 <!-- Action bar overflow menu icon. -->
247 <style name="DialtactsActionBarOverflow"
248 parent="@android:style/Widget.Holo.ActionButton.Overflow">
Nancy Chencaa8f232014-07-28 17:30:42 -0700249 <item name="android:src">@drawable/overflow_menu</item>
Tyler Gunn70af2702014-03-07 15:31:25 -0800250 </style>
251
Hall Liued6c6fe2019-12-25 17:10:22 -0800252 <style name="EmergencyDialerTheme" parent="@android:style/Theme.Material.NoActionBar">
Youming Ye4c804ef2019-04-12 13:11:28 -0700253 <item name="android:forceDarkAllowed">true</item>
Andrew Sapperstein0d6cfff2016-06-24 14:33:16 -0700254 <item name="android:colorPrimaryDark">?android:attr/colorPrimary</item>
Lucas Dupineb9c5702017-05-10 16:57:09 -0700255 <item name="android:colorBackgroundCacheHint">@null</item>
256 <item name="android:windowShowWallpaper">true</item>
Adrian Roos4e664b62015-03-25 15:09:46 -0700257 <item name="android:statusBarColor">@android:color/transparent</item>
258 <item name="android:navigationBarColor">@android:color/transparent</item>
Yorke Lee21c5e2d2015-04-07 12:52:55 -0700259 <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item>
Grace Jia835d8e62020-04-01 15:47:39 -0700260 <item name="emergencyButtonBackgroundColor">#10ffffff</item>
Fan Zhang93247022020-01-07 17:10:26 -0800261 <item name="dialpadTheme">@style/Dialpad_DarkTransparent.Emergency</item>
Lucas Dupineb9c5702017-05-10 16:57:09 -0700262 </style>
263
264 <style name="EmergencyDialerThemeDark" parent="@style/EmergencyDialerTheme">
Youming Ye4c804ef2019-04-12 13:11:28 -0700265 <item name="android:forceDarkAllowed">true</item>
Lucas Dupineb9c5702017-05-10 16:57:09 -0700266 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
267 <item name="emergencyButtonBackgroundColor">#19414549</item>
Lucas Dupin29088302018-05-31 18:10:28 -0700268 <item name="android:colorControlHighlight">#40000000</item>
Fan Zhang93247022020-01-07 17:10:26 -0800269 <item name="dialpadTheme">@style/Dialpad_LightTransparent.Emergency</item>
270 </style>
271
272 <style name="Dialpad_LightTransparent.Emergency">
273 <item name="dialpad_delete_padding">16dp</item>
274 </style>
275
276 <style name="Dialpad_DarkTransparent.Emergency">
277 <item name="dialpad_delete_padding">16dp</item>
Sai Cheemalapati14462b62014-06-18 13:53:56 -0700278 </style>
279
Lucas Dupin0d666f92017-06-01 14:04:48 -0700280 <style name="EmergencyDialerAlertDialogTheme"
281 parent="@android:style/Theme.Material.Dialog">
Youming Ye4c804ef2019-04-12 13:11:28 -0700282 <item name="android:forceDarkAllowed">true</item>
Lucas Dupin0d666f92017-06-01 14:04:48 -0700283 <item name="android:textColor">?android:attr/textColorPrimary</item>
284 </style>
285
Paul Soulos79141082014-09-15 09:34:14 -0700286 <style name="SimImportTheme" parent="@android:style/Theme.Material.Light">
Youming Ye4c804ef2019-04-12 13:11:28 -0700287 <item name="android:forceDarkAllowed">true</item>
Paul Soulos79141082014-09-15 09:34:14 -0700288 <item name="android:actionBarStyle">@style/TelephonyActionBarStyle</item>
289 <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item>
Brian Attwell96e47452014-10-08 14:09:16 -0700290 <item name="android:homeAsUpIndicator">@drawable/ic_back_arrow</item>
291 <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflow</item>
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700292 </style>
293
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700294 <style name="DialtactsDigitsTextAppearance">
295 <item name="android:maxLines">1</item>
296 <item name="android:textSize">@dimen/dialpad_digits_text_size</item>
297 <item name="android:textColor">?android:attr/textColorPrimary</item>
298 <item name="android:freezesText">true</item>
299 <item name="android:editable">true</item>
300 <item name="android:cursorVisible">false</item>
301 </style>
302
Christine Chen0ce0e852013-08-09 18:26:31 -0700303 <style name="Theme.Transparent" parent="android:Theme">
304 <item name="android:windowIsTranslucent">true</item>
305 <item name="android:windowBackground">@android:color/transparent</item>
306 <item name="android:windowContentOverlay">@null</item>
307 <item name="android:windowNoTitle">true</item>
308 <item name="android:windowIsFloating">true</item>
309 <item name="android:backgroundDimEnabled">false</item>
310 </style>
PauloftheWest5f907c32014-07-25 07:10:44 -0700311
Ayush Sharma787854b2022-12-12 14:55:02 +0000312 <style name="Theme.Telephony.Transparent" parent="@android:style/Theme.DeviceDefault.Light">
313 <item name="android:forceDarkAllowed">true</item>
314 <item name="android:windowIsTranslucent">true</item>
315 <item name="android:windowBackground">@android:color/transparent</item>
316 <item name="android:windowContentOverlay">@null</item>
317 <item name="android:windowNoTitle">true</item>
318 <item name="android:windowIsFloating">true</item>
319 <item name="android:backgroundDimEnabled">true</item>
320 <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
321 </style>
322
Shu Wang31b32a52019-12-03 15:54:36 +0800323 <style name="CallSettingsWithoutDividerTheme" parent="DialerSettingsLight">
Aida Takeshi7c3b4a32016-08-11 13:42:24 +0800324 <item name="android:listDivider">@null</item>
325 </style>
Chihhang Chuang0808a092018-07-02 11:08:50 +0800326
Hall Liued6c6fe2019-12-25 17:10:22 -0800327 <style name="EmergencyInfoNameTextAppearance"
328 parent="@android:style/TextAppearance.Material.Subhead">
329 <item name="android:textColor">@color/primary_text_default_material_dark</item>
Leo Hsu5f79f182019-05-13 14:26:52 +0800330 <item name="android:textSize">@dimen/emergency_info_name_text_size</item>
Chihhang Chuang0808a092018-07-02 11:08:50 +0800331 </style>
332
Hall Liued6c6fe2019-12-25 17:10:22 -0800333 <style name="EmergencyInfoHintTextAppearance"
334 parent="@android:style/TextAppearance.Material.Subhead">
335 <item name="android:textColor">@color/secondary_text_default_material_dark</item>
Leo Hsu5f79f182019-05-13 14:26:52 +0800336 <item name="android:textSize">@dimen/emergency_info_hint_text_size</item>
337 </style>
338
Hall Liued6c6fe2019-12-25 17:10:22 -0800339 <style name="EmergencyInfoTapHintTextAppearance"
340 parent="@android:style/TextAppearance.Material.Subhead">
Leo Hsu5f79f182019-05-13 14:26:52 +0800341 <item name="android:textColor">@android:color/white</item>
342 <item name="android:textSize">@dimen/emergency_info_tap_hint_text_size</item>
343 </style>
344
Hall Liued6c6fe2019-12-25 17:10:22 -0800345 <style name="ShortcutViewHintTextAppearance"
346 parent="@android:style/TextAppearance.Material.Subhead">
347 <item name="android:textColor">@color/secondary_text_default_material_dark</item>
Chihhang Chuang0808a092018-07-02 11:08:50 +0800348 </style>
Chihhang Chuangeeaf8882018-07-04 13:18:34 +0800349
Hall Liued6c6fe2019-12-25 17:10:22 -0800350 <style name="PhoneNumberTextAppearance"
351 parent="@android:style/TextAppearance.Material.Subhead">
352 <item name="android:textColor">@color/primary_text_default_material_light</item>
Leo Hsu5f79f182019-05-13 14:26:52 +0800353 <item name="android:textSize">@dimen/emergency_shortcut_number_text_size</item>
354 </style>
355
356 <style name="PhoneNumberTypeAppearance">
357 <item name="android:fontFamily">roboto</item>
Hall Liued6c6fe2019-12-25 17:10:22 -0800358 <item name="android:textColor">@color/secondary_text_default_material_light</item>
Leo Hsu5f79f182019-05-13 14:26:52 +0800359 <item name="android:textSize">@dimen/emergency_shortcut_type_text_size</item>
360 </style>
361
Hall Liued6c6fe2019-12-25 17:10:22 -0800362 <style name="PhoneNumberTapHintAppearance"
363 parent="@android:style/TextAppearance.Material.Subhead">
Wesley.CW Wang5e785392018-08-09 20:11:34 +0800364 <item name="android:textColor">@android:color/white</item>
Leo Hsu5f79f182019-05-13 14:26:52 +0800365 <item name="android:textSize">@dimen/emergency_shortcut_tap_hint_text_size</item>
Chihhang Chuangeeaf8882018-07-04 13:18:34 +0800366 </style>
arunvoddu4a334c42024-08-01 10:48:48 +0000367
368 <!-- <style name="RadioInfoTheme" parent="@android:style/Theme.DeviceDefault.DayNight">-->
369 <style name="RadioInfoTheme" parent="Theme.AppCompat.DayNight">
370 <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
371 </style>
Santos Cordon7d4ddf62013-07-10 11:58:08 -0700372</resources>