1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2006 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 xmlns:android="http://schemas.android.com/apk/res/android"> 18 <style name="BubbleOverflow" parent="@android:style/Theme.NoTitleBar"></style> 19 20 <style name="ClearAllButtonDefaultMargins"> 21 <item name="android:layout_marginStart">0dp</item> 22 <item name="android:layout_marginTop">0dp</item> 23 <item name="android:layout_marginEnd">0dp</item> 24 <item name="android:layout_marginBottom">0dp</item> 25 </style> 26 27 <!-- Theme used for the activity that shows when the system forced an app to be resizable --> 28 <style name="ForcedResizableTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> 29 <item name="android:windowBackground">@drawable/forced_resizable_background</item> 30 <item name="android:statusBarColor">@*android:color/transparent</item> 31 <item name="android:windowAnimationStyle">@style/Animation.ForcedResizable</item> 32 </style> 33 34 <style name="Animation.ForcedResizable" parent="@android:style/Animation"> 35 <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> 36 37 <!-- If the target stack doesn't have focus, we do a task to front animation. --> 38 <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> 39 <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> 40 </style> 41 42 <style name="PipPhoneOverlayControlTheme" parent="@android:style/Theme.Material"> 43 <item name="android:windowIsTranslucent">true</item> 44 <item name="android:windowNoTitle">true</item> 45 <item name="android:windowContentOverlay">@null</item> 46 <item name="android:windowBackground">@android:color/transparent</item> 47 <item name="android:colorBackgroundCacheHint">@null</item> 48 <item name="android:statusBarColor">@*android:color/transparent</item> 49 <item name="android:windowAnimationStyle">@style/Animation.PipPhoneOverlayControl</item> 50 </style> 51 52 <style name="Animation.PipPhoneOverlayControl" parent="@android:style/Animation"> 53 <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> 54 55 <!-- If the target stack doesn't have focus, we do a task to front animation. --> 56 <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> 57 <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> 58 </style> 59 60 <!-- HybridNotification themes and styles --> 61 62 <style name="HybridNotification"> 63 <item name="hybridNotificationStyle">@style/hybrid_notification</item> 64 <item name="hybridNotificationTitleStyle">@style/hybrid_notification_title</item> 65 <item name="hybridNotificationTextStyle">@style/hybrid_notification_text</item> 66 </style> 67 68 <style name="hybrid_notification"> 69 <item name="android:paddingStart">@*android:dimen/notification_content_margin_start</item> 70 <item name="android:paddingEnd">12dp</item> 71 </style> 72 73 <style name="hybrid_notification_title"> 74 <item name="android:paddingEnd">4dp</item> 75 <item name="android:textAppearance">@*android:style/TextAppearance.DeviceDefault.Notification.Title</item> 76 </style> 77 78 <style name="hybrid_notification_text" 79 parent="@*android:style/Widget.DeviceDefault.Notification.Text"> 80 <item name="android:paddingEnd">4dp</item> 81 </style> 82 83 84 <style name="TextAppearance.StatusBar.HeadsUp" 85 parent="@*android:style/TextAppearance.StatusBar"> 86 </style> 87 88 <style name="TextAppearance.StatusBar.SystemPanel" 89 parent="@*android:style/TextAppearance.StatusBar"> 90 <item name="android:textAppearance">?android:attr/textAppearance</item> 91 <item name="android:textStyle">normal</item> 92 <item name="android:textColor">#FF808080</item> 93 </style> 94 95 <style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon"> 96 <item name="android:textSize">@dimen/status_bar_clock_size</item> 97 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 98 <item name="android:textColor">@color/status_bar_clock_color</item> 99 </style> 100 101 <style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar"> 102 <item name="android:textColor">?android:attr/textColorTertiary</item> 103 </style> 104 105 <style name="TextAppearance.StatusBar.Expanded.Clock"> 106 <item name="android:textSize">@dimen/qs_time_expanded_size</item> 107 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 108 <item name="android:textColor">?android:attr/textColorPrimary</item> 109 <item name="android:textStyle">normal</item> 110 </style> 111 112 <style name="TextAppearance.StatusBar.Expanded.Date"> 113 <item name="android:textSize">@dimen/qs_time_expanded_size</item> 114 <item name="android:textStyle">normal</item> 115 <item name="android:textColor">?android:attr/textColorPrimary</item> 116 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 117 </style> 118 119 <style name="TextAppearance.StatusBar.Expanded.AboveDateTime"> 120 <item name="android:textSize">@dimen/qs_emergency_calls_only_text_size</item> 121 <item name="android:textStyle">normal</item> 122 <item name="android:textColor">?android:attr/textColorTertiary</item> 123 </style> 124 125 <style name="TextAppearance.StatusBar.Expanded.EmergencyCallsOnly" 126 parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> 127 128 <style name="TextAppearance.StatusBar.Expanded.ChargingInfo" 129 parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> 130 131 <style name="TextAppearance.StatusBar.Expanded.UserSwitcher"> 132 <item name="android:textSize">@dimen/kg_user_switcher_text_size</item> 133 <item name="android:textStyle">normal</item> 134 <item name="android:textColor">?android:attr/textColorSecondary</item> 135 </style> 136 137 <style name="TextAppearance.StatusBar.Expanded.UserSwitcher.Activated"> 138 <item name="android:fontWeight">700</item> 139 <item name="android:textStyle">bold</item> 140 </style> 141 142 <style name="TextAppearance" /> 143 144 <style name="TextAppearance.QS"> 145 <item name="android:textStyle">normal</item> 146 <item name="android:textColor">?android:attr/textColorPrimary</item> 147 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 148 </style> 149 150 <style name="TextAppearance.QS.DetailHeader"> 151 <item name="android:textSize">@dimen/qs_detail_header_text_size</item> 152 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 153 </style> 154 155 <style name="TextAppearance.QS.DetailItemPrimary"> 156 <item name="android:textSize">@dimen/qs_detail_item_primary_text_size</item> 157 </style> 158 159 <style name="TextAppearance.QS.DetailItemSecondary"> 160 <item name="android:textSize">@dimen/qs_detail_item_secondary_text_size</item> 161 <item name="android:textColor">?android:attr/colorAccent</item> 162 </style> 163 164 <style name="TextAppearance.QS.Introduction"> 165 <item name="android:textSize">14sp</item> 166 <item name="android:textColor">@color/zen_introduction</item> 167 </style> 168 169 <style name="TextAppearance.QS.Warning"> 170 <item name="android:textSize">14sp</item> 171 <item name="android:textColor">?android:attr/colorError</item> 172 </style> 173 174 <style name="TextAppearance.QS.DetailButton"> 175 <item name="android:textSize">@dimen/qs_detail_button_text_size</item> 176 <item name="android:textColor">?android:attr/textColorSecondary</item> 177 <item name="android:textAllCaps">true</item> 178 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 179 <item name="android:gravity">center</item> 180 </style> 181 182 <style name="TextAppearance.QS.DetailButton.White"> 183 <item name="android:textColor">@color/zen_introduction</item> 184 </style> 185 186 <style name="TextAppearance.QS.DetailEmpty"> 187 <item name="android:textSize">@dimen/qs_detail_empty_text_size</item> 188 <item name="android:textColor">?android:attr/textColorPrimary</item> 189 </style> 190 191 <style name="TextAppearance.QS.Subhead"> 192 <item name="android:textSize">14sp</item> 193 <item name="android:textColor">@color/qs_subhead</item> 194 </style> 195 196 <style name="TextAppearance.QS.SegmentedButton"> 197 <item name="android:textSize">16sp</item> 198 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 199 </style> 200 201 <style name="TextAppearance.QS.DataUsage"> 202 <item name="android:textSize">@dimen/qs_data_usage_text_size</item> 203 </style> 204 205 <style name="TextAppearance.QS.DataUsage.Usage"> 206 <item name="android:textSize">@dimen/qs_data_usage_usage_text_size</item> 207 <item name="android:textColor">?android:attr/colorAccent</item> 208 </style> 209 210 <style name="TextAppearance.QS.DataUsage.Secondary"> 211 <item name="android:textColor">?android:attr/textColorSecondary</item> 212 </style> 213 214 <style name="TextAppearance.QS.TileLabel"> 215 <item name="android:textSize">@dimen/qs_tile_text_size</item> 216 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 217 </style> 218 219 <style name="TextAppearance.QS.TileLabel.Secondary"> 220 <item name="android:textSize">@dimen/qs_tile_text_size</item> 221 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 222 </style> 223 224 <style name="TextAppearance.QS.UserSwitcher"> 225 <item name="android:textSize">@dimen/qs_detail_item_secondary_text_size</item> 226 <item name="android:textColor">?android:attr/textColorSecondary</item> 227 </style> 228 229 <style name="TextAppearance.QS.UserSwitcher.Activated"> 230 <item name="android:fontWeight">700</item> 231 <item name="android:textStyle">bold</item> 232 </style> 233 234 <!-- This is hard coded to be sans-serif-condensed to match the icons --> 235 <style name="TextAppearance.RATBadge" parent="@style/TextAppearance.QS.TileLabel.Secondary"> 236 <item name="android:fontFamily">sans-serif-condensed</item> 237 <item name="android:textSize">@dimen/celltile_rat_type_size</item> 238 </style> 239 240 <style name="TextAppearance.QS.Status" parent="TextAppearance.QS.TileLabel.Secondary"> 241 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 242 <item name="android:textColor">@color/dark_mode_qs_icon_color_single_tone</item> 243 </style> 244 245 <style name="TextAppearance.DeviceManagementDialog"> 246 <item name="android:textColor">?android:attr/textColorPrimary</item> 247 </style> 248 249 <style name="TextAppearance.DeviceManagementDialog.Title" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> 250 251 <style name="TextAppearance.AuthCredential"> 252 <item name="android:accessibilityLiveRegion">polite</item> 253 <item name="android:gravity">center_horizontal</item> 254 <item name="android:textAlignment">gravity</item> 255 <item name="android:layout_gravity">top</item> 256 <item name="android:textColor">?android:attr/textColorPrimary</item> 257 </style> 258 259 <style name="TextAppearance.AuthCredential.Title"> 260 <item name="android:fontFamily">google-sans</item> 261 <item name="android:paddingTop">12dp</item> 262 <item name="android:paddingHorizontal">24dp</item> 263 <item name="android:textSize">24sp</item> 264 </style> 265 266 <style name="TextAppearance.AuthCredential.Subtitle"> 267 <item name="android:fontFamily">google-sans</item> 268 <item name="android:paddingTop">8dp</item> 269 <item name="android:paddingHorizontal">24dp</item> 270 <item name="android:textSize">16sp</item> 271 </style> 272 273 <style name="TextAppearance.AuthCredential.Description"> 274 <item name="android:fontFamily">google-sans</item> 275 <item name="android:paddingTop">8dp</item> 276 <item name="android:paddingHorizontal">24dp</item> 277 <item name="android:textSize">14sp</item> 278 </style> 279 280 <style name="TextAppearance.AuthCredential.Error"> 281 <item name="android:paddingTop">6dp</item> 282 <item name="android:paddingHorizontal">24dp</item> 283 <item name="android:textSize">14sp</item> 284 <item name="android:textColor">?android:attr/colorError</item> 285 </style> 286 287 <style name="TextAppearance.AuthCredential.PasswordEntry" parent="@android:style/TextAppearance.DeviceDefault"> 288 <item name="android:gravity">center</item> 289 <item name="android:singleLine">true</item> 290 <item name="android:textColor">?android:attr/colorForeground</item> 291 <item name="android:textSize">24sp</item> 292 </style> 293 294 <style name="DeviceManagementDialogTitle"> 295 <item name="android:gravity">center</item> 296 <item name="android:textAppearance">@style/TextAppearance.DeviceManagementDialog.Title</item> 297 </style> 298 299 <style name="TextAppearance.DeviceManagementDialog.Content" parent="@*android:style/TextAppearance.DeviceDefault.Subhead"/> 300 301 <style name="BaseBrightnessDialogContainer" parent="@style/Theme.SystemUI"> 302 <item name="android:layout_width">match_parent</item> 303 <item name="android:layout_height">wrap_content</item> 304 </style> 305 306 <style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" /> 307 308 <style name="Animation" /> 309 310 <style name="Animation.ShirtPocketPanel"> 311 <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item> 312 <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item> 313 </style> 314 315 <style name="Animation.NavigationBarFadeIn"> 316 <item name="android:windowEnterAnimation">@anim/navbar_fade_in</item> 317 <item name="android:windowExitAnimation">@null</item> 318 </style> 319 320 <style name="Animation.ShutdownUi" parent="@android:style/Animation.Toast"> 321 </style> 322 323 <!-- Standard animations for hiding and showing the status bar. --> 324 <style name="Animation.StatusBar"> 325 </style> 326 327 <style name="Theme.SystemUI" parent="@*android:style/Theme.DeviceDefault.QuickSettings"> 328 <item name="lightIconTheme">@style/DualToneLightTheme</item> 329 <item name="darkIconTheme">@style/DualToneDarkTheme</item> 330 <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item> 331 <item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_dark</item> 332 <item name="android:colorError">@*android:color/error_color_material_dark</item> 333 <item name="android:colorControlHighlight">@*android:color/primary_text_material_dark</item> 334 <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> 335 <item name="passwordStyle">@style/PasswordTheme</item> 336 <item name="backgroundProtectedStyle">@style/BackgroundProtectedStyle</item> 337 <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item> 338 <item name="shadowRadius">@dimen/keyguard_shadow_radius</item> 339 340 <!-- Needed for MediaRoute chooser dialog --> 341 <item name="*android:isLightTheme">false</item> 342 </style> 343 344 <style name="Theme.SystemUI.Light"> 345 <item name="wallpaperTextColor">@*android:color/primary_text_material_light</item> 346 <item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_light</item> 347 <item name="android:colorError">@*android:color/error_color_material_light</item> 348 <item name="android:colorControlHighlight">#40000000</item> 349 <item name="passwordStyle">@style/PasswordTheme.Light</item> 350 <item name="shadowRadius">0</item> 351 352 <!-- Needed for MediaRoute chooser dialog --> 353 <item name="*android:isLightTheme">true</item> 354 </style> 355 356 <style name="BackgroundProtectedStyle"> 357 <item name="android:textColor">?attr/wallpaperTextColor</item> 358 </style> 359 360 <style name="LockPatternContainerStyle"> 361 <item name="android:maxHeight">400dp</item> 362 <item name="android:maxWidth">420dp</item> 363 <item name="android:minHeight">0dp</item> 364 <item name="android:minWidth">0dp</item> 365 <item name="android:paddingBottom">0dp</item> 366 <item name="android:paddingHorizontal">44dp</item> 367 <item name="android:paddingTop">0dp</item> 368 </style> 369 370 <style name="LockPatternStyle"> 371 <item name="*android:regularColor">?attr/wallpaperTextColor</item> 372 <item name="*android:successColor">?attr/wallpaperTextColor</item> 373 <item name="*android:errorColor">?android:attr/colorError</item> 374 </style> 375 376 <style name="LockPatternStyleBiometricPrompt"> 377 <item name="*android:regularColor">?android:attr/colorForeground</item> 378 <item name="*android:successColor">?android:attr/colorForeground</item> 379 <item name="*android:errorColor">?android:attr/colorError</item> 380 </style> 381 382 <style name="qs_theme" parent="@*android:style/Theme.DeviceDefault.QuickSettings"> 383 <item name="lightIconTheme">@style/QSIconTheme</item> 384 <item name="darkIconTheme">@style/QSIconTheme</item> 385 <item name="android:colorError">@*android:color/error_color_material_dark</item> 386 <item name="android:windowIsFloating">true</item> 387 <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item> 388 </style> 389 390 <style name="systemui_theme_remote_input" parent="@android:style/Theme.DeviceDefault.Light"> 391 <item name="android:colorAccent">@color/remote_input_accent</item> 392 </style> 393 394 <style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog" /> 395 396 <style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> 397 398 <style name="Theme.SystemUI.Dialog.GlobalActions" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen"> 399 <item name="android:colorError">@*android:color/error_color_material_dark</item> 400 <item name="android:windowIsFloating">true</item> 401 </style> 402 403 <style name="QSBorderlessButton"> 404 <item name="android:padding">12dp</item> 405 <item name="android:background">@drawable/qs_btn_borderless_rect</item> 406 <item name="android:gravity">center</item> 407 </style> 408 409 <style name="SearchPanelCircle"> 410 <item name="android:layout_width">match_parent</item> 411 <item name="android:layout_height">match_parent</item> 412 </style> 413 414 <style name="UserDetailView"> 415 <item name="numColumns">3</item> 416 </style> 417 418 <style name="AutoSizingList"> 419 <item name="enableAutoSizing">true</item> 420 </style> 421 <style name="Theme.SystemUI.MediaProjectionAlertDialog"> 422 <item name="android:windowIsTranslucent">true</item> 423 <item name="android:windowBackground">@android:color/transparent</item> 424 <item name="android:windowContentOverlay">@null</item> 425 <item name="android:windowNoTitle">true</item> 426 <item name="android:windowIsFloating">true</item> 427 <item name="android:backgroundDimEnabled">true</item> 428 <item name="android:alertDialogTheme">@style/Theme.SystemUI.Dialog.Alert</item> 429 </style> 430 431 <style name="DualToneLightTheme"> 432 <item name="backgroundColor">@color/light_mode_icon_color_dual_tone_background</item> 433 <item name="fillColor">@color/light_mode_icon_color_dual_tone_fill</item> 434 <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> 435 <item name="homeHandleColor">@color/navigation_bar_home_handle_light_color</item> 436 </style> 437 <style name="DualToneDarkTheme"> 438 <item name="backgroundColor">@color/dark_mode_icon_color_dual_tone_background</item> 439 <item name="fillColor">@color/dark_mode_icon_color_dual_tone_fill</item> 440 <item name="singleToneColor">@color/dark_mode_icon_color_single_tone</item> 441 <item name="homeHandleColor">@color/navigation_bar_home_handle_dark_color</item> 442 </style> 443 <style name="QSHeaderDarkTheme"> 444 <item name="backgroundColor">@color/dark_mode_qs_icon_color_dual_tone_background</item> 445 <item name="fillColor">@color/dark_mode_qs_icon_color_dual_tone_fill</item> 446 <item name="singleToneColor">@color/dark_mode_qs_icon_color_single_tone</item> 447 </style> 448 449 <style name="QSHeaderTheme" parent="@style/Theme.SystemUI"> 450 <item name="lightIconTheme">@style/DualToneLightTheme</item> 451 <item name="darkIconTheme">@style/QSHeaderDarkTheme</item> 452 </style> 453 454 <style name="QSIconTheme"> 455 <item name="backgroundColor">?android:attr/textColorHint</item> 456 <item name="fillColor">?android:attr/textColorPrimary</item> 457 <item name="singleToneColor">?android:attr/textColorPrimary</item> 458 </style> 459 <style name="ScreenPinningRequestTheme" parent="@*android:style/ThemeOverlay.DeviceDefault.Accent"> 460 <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> 461 </style> 462 463 <style name="TextAppearance.Volume"> 464 <item name="android:textStyle">normal</item> 465 <item name="android:textColor">?android:attr/textColorPrimary</item> 466 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 467 </style> 468 469 <style name="TextAppearance.Volume.Header"> 470 <item name="android:textSize">12sp</item> 471 <item name="android:textColor">?android:attr/textColorSecondary</item> 472 </style> 473 474 <style name="TextAppearance.Volume.Header.Secondary"> 475 <item name="android:textSize">12sp</item> 476 <item name="android:textColor">?android:attr/textColorTertiary</item> 477 </style> 478 479 <style name="VolumeButtons" parent="@android:style/Widget.Material.Button.Borderless"> 480 <item name="android:background">@drawable/btn_borderless_rect</item> 481 </style> 482 483 <style name="DockedDividerBackground"> 484 <item name="android:layout_width">match_parent</item> 485 <item name="android:layout_height">10dp</item> 486 <item name="android:layout_gravity">center_vertical</item> 487 </style> 488 489 <style name="DockedDividerMinimizedShadow"> 490 <item name="android:layout_width">match_parent</item> 491 <item name="android:layout_height">8dp</item> 492 </style> 493 494 <style name="DockedDividerHandle"> 495 <item name="android:layout_gravity">center_horizontal</item> 496 <item name="android:layout_width">96dp</item> 497 <item name="android:layout_height">48dp</item> 498 </style> 499 500 <style name="TunerSettings" parent="@android:style/Theme.DeviceDefault.Settings"> 501 <item name="android:windowActionBar">false</item> 502 <item name="preferenceTheme">@style/TunerPreferenceTheme</item> 503 </style> 504 505 <style name="TunerPreferenceTheme" parent="@style/PreferenceThemeOverlay.SettingsBase"> 506 </style> 507 508 <style name="TextAppearance.NotificationInfo.Confirmation"> 509 <item name="android:textSize">14sp</item> 510 <item name="android:alpha">0.87</item> 511 </style> 512 513 <style name="TextAppearance.NotificationInfo"> 514 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 515 <item name="android:textColor">@color/notification_primary_text_color</item> 516 </style> 517 518 <style name="TextAppearance.NotificationInfo.Secondary"> 519 <item name="android:textSize">14sp</item> 520 <item name="android:alpha">0.62</item> 521 </style> 522 523 <style name="TextAppearance.NotificationInfo.Title"> 524 <item name="android:textColor">@color/notification_primary_text_color</item> 525 <item name="android:textStyle">bold</item> 526 </style> 527 528 <style name="TextAppearance.NotificationInfo.Button"> 529 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 530 <item name="android:textSize">14sp</item> 531 <item name="android:textColor">?android:attr/colorAccent</item> 532 <item name="android:background">@drawable/btn_borderless_rect</item> 533 <item name="android:gravity">center_vertical</item> 534 <item name="android:focusable">true</item> 535 </style> 536 537 <style name="TextAppearance.NotificationImportanceChannel"> 538 <item name="android:textSize">@dimen/notification_importance_channel_text</item> 539 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 540 <item name="android:textColor">@color/notification_guts_header_text_color</item> 541 <item name="android:textSize">@dimen/notification_importance_channel_text</item> 542 </style> 543 544 <style name="TextAppearance.NotificationImportanceChannelGroup"> 545 <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> 546 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 547 <item name="android:textColor">@color/notification_guts_header_text_color</item> 548 <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> 549 </style> 550 551 <style name="TextAppearance.NotificationImportanceApp"> 552 <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> 553 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 554 <item name="android:textColor">@color/notification_guts_sub_text_color</item> 555 <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> 556 </style> 557 558 <style name="TextAppearance.NotificationImportanceHeader"> 559 <item name="android:textSize">@dimen/notification_importance_header_text</item> 560 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 561 <item name="android:textColor">@color/notification_guts_header_text_color</item> 562 </style> 563 564 <style name="TextAppearance.NotificationImportanceDetail"> 565 <item name="android:textSize">@dimen/notification_importance_description_text</item> 566 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 567 <item name="android:textColor">@color/notification_guts_sub_text_color</item> 568 <item name="android:gravity">center</item> 569 </style> 570 571 <style name="TextAppearance.NotificationImportanceButton"> 572 <item name="android:textSize">@dimen/notification_importance_button_text</item> 573 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 574 <item name="android:textColor">@color/notification_guts_priority_contents</item> 575 <item name="android:gravity">center</item> 576 </style> 577 578 <style 579 name="TextAppearance.NotificationSectionHeaderButton" 580 parent="@android:style/Widget.Material.Button.Borderless"> 581 <item name="android:textColor">?attr/wallpaperTextColor</item> 582 <item name="android:textAllCaps">false</item> 583 <item name="android:textSize">14sp</item> 584 <item name="android:minWidth">0dp</item> 585 </style> 586 587 <style name="TextAppearance.HeadsUpStatusBarText" 588 parent="@*android:style/TextAppearance.DeviceDefault.Notification.Info"> 589 </style> 590 591 <style name="TextAppearance.QSEdit.Headers" 592 parent="@*android:style/TextAppearance.DeviceDefault.Body2"> 593 <item name="android:textSize">11sp</item> 594 <item name="android:textColor">?android:attr/textColorSecondary</item> 595 <item name="android:textAllCaps">true</item> 596 </style> 597 598 <style name="QSCustomizeToolbar" parent="@*android:style/Widget.DeviceDefault.Toolbar"> 599 <item name="android:textColor">?android:attr/textColorPrimary</item> 600 <item name="android:elevation">10dp</item> 601 </style> 602 603 <style name="edit_theme" parent="qs_theme"> 604 <item name="android:colorBackground">?android:attr/colorSecondary</item> 605 </style> 606 607 <!-- Used to style rotate suggestion button AVD animations --> 608 <style name="RotateButtonCCWStart0"> 609 <item name="rotateButtonStartAngle">0</item> 610 <item name="rotateButtonEndAngle">-90</item> 611 <item name="rotateButtonScaleX">1</item> 612 </style> 613 614 <style name="RotateButtonCCWStart90"> 615 <item name="rotateButtonStartAngle">90</item> 616 <item name="rotateButtonEndAngle">0</item> 617 <item name="rotateButtonScaleX">1</item> 618 </style> 619 620 <style name="RotateButtonCWStart0"> 621 <item name="rotateButtonStartAngle">0</item> 622 <item name="rotateButtonEndAngle">90</item> 623 <item name="rotateButtonScaleX">-1</item> 624 </style> 625 626 <style name="RotateButtonCWStart90"> 627 <item name="rotateButtonStartAngle">90</item> 628 <item name="rotateButtonEndAngle">180</item> 629 <item name="rotateButtonScaleX">-1</item> 630 </style> 631 632 <style name="MediaPlayer.Button" parent="@android:style/Widget.Material.Button.Borderless.Small"> 633 <item name="android:background">@drawable/qs_media_light_source</item> 634 <item name="android:tint">@android:color/white</item> 635 <item name="android:stateListAnimator">@anim/media_button_state_list_animator</item> 636 </style> 637 638 <!-- Used to style charging animation AVD animation --> 639 <style name="ChargingAnim" /> 640 641 <style name="ChargingAnim.WallpaperBackground"> 642 <item name="chargingAnimColor">?attr/wallpaperTextColor</item> 643 <item name="android:textColor">?attr/wallpaperTextColor</item> 644 </style> 645 646 <style name="ChargingAnim.DarkBackground"> 647 <item name="chargingAnimColor">@android:color/white</item> 648 <item name="android:textColor">@android:color/white</item> 649 </style> 650 651 <!-- Screen recording --> 652 <style name="ScreenRecord" parent="Theme.SystemUI.Dialog.GlobalActions"> 653 <item name="android:windowIsTranslucent">true</item> 654 <item name="android:windowBackground">@android:color/transparent</item> 655 <item name="android:windowIsFloating">true</item> 656 <item name="android:backgroundDimEnabled">true</item> 657 <item name="android:windowCloseOnTouchOutside">true</item> 658 </style> 659 660 <!-- USB Contaminant dialog --> 661 <style name ="USBContaminant" /> 662 663 <style name ="USBContaminant.UserAction"> 664 <item name="android:layout_width">match_parent</item> 665 <item name="android:layout_height">wrap_content</item> 666 <item name="android:fontFamily">roboto-regular</item> 667 <item name="android:paddingLeft">16dp</item> 668 <item name="android:paddingTop">16dp</item> 669 <item name="android:paddingRight">24dp</item> 670 <item name="android:paddingBottom">16dp</item> 671 <item name="android:textAlignment">viewStart</item> 672 <item name="android:textSize">16sp</item> 673 <item name="android:clickable">true</item> 674 <item name="android:background">?android:attr/selectableItemBackground</item> 675 <item name="android:textColor">?android:attr/textColorPrimary</item> 676 </style> 677 678 <!-- Controls styles --> 679 <style name="Theme.ControlsManagement" parent="@android:style/Theme.DeviceDefault.NoActionBar"> 680 <item name="android:windowActivityTransitions">true</item> 681 <item name="android:windowContentTransitions">false</item> 682 <item name="android:windowIsTranslucent">false</item> 683 <item name="android:windowBackground">@android:color/black</item> 684 <item name="android:colorBackground">@android:color/black</item> 685 <item name="android:windowAnimationStyle">@null</item> 686 <item name="android:statusBarColor">@*android:color/transparent</item> 687 <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item> 688 </style> 689 690 <style name="TextAppearance.Control"> 691 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 692 </style> 693 694 <style name="Theme.SystemUI.Dialog.Control.DetailPanel" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar"> 695 <item name="android:windowAnimationStyle">@style/Animation.Bottomsheet</item> 696 <item name="android:windowFullscreen">true</item> 697 <item name="android:windowIsFloating">false</item> 698 <item name="android:windowBackground">@null</item> 699 <item name="android:backgroundDimEnabled">true</item> 700 </style> 701 702 <style name="Animation.Bottomsheet"> 703 <item name="android:windowEnterAnimation">@anim/bottomsheet_in</item> 704 <item name="android:windowExitAnimation">@anim/bottomsheet_out</item> 705 </style> 706 707 <style name="Control" /> 708 709 <style name="Control.MenuItem"> 710 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 711 <item name="android:textSize">@dimen/control_menu_item_text_size</item> 712 <item name="android:textColor">@color/control_primary_text</item> 713 <item name="android:singleLine">true</item> 714 <item name="android:gravity">center_vertical</item> 715 <item name="android:minHeight">@dimen/control_menu_item_min_height</item> 716 </style> 717 718 <style name="Control.Spinner"> 719 <item name="android:textColor">@color/control_primary_text</item> 720 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 721 <item name="android:singleLine">true</item> 722 <item name="android:ellipsize">end</item> 723 </style> 724 725 <style name="Control.Spinner.Header"> 726 <item name="android:background">@drawable/control_spinner_background</item> 727 <item name="android:textSize">@dimen/control_header_text_size</item> 728 </style> 729 730 <style name="Control.Spinner.Item"> 731 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 732 <item name="android:textSize">@dimen/control_item_text_size</item> 733 </style> 734 735 <style name="TextAppearance.Control.Status"> 736 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 737 <item name="android:textSize">@dimen/control_status_normal</item> 738 <item name="android:textColor">@color/control_primary_text</item> 739 </style> 740 741 <style name="TextAppearance.Control.Title"> 742 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 743 <item name="android:textSize">@dimen/control_text_size</item> 744 <item name="android:lineSpacingExtra">6sp</item> 745 <item name="android:textColor">@color/control_primary_text</item> 746 </style> 747 <style name="TextAppearance.Control.Subtitle"> 748 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 749 <item name="android:textSize">@dimen/control_text_size</item> 750 <item name="android:textColor">@color/control_secondary_text</item> 751 </style> 752 <style name="TextAppearance.Control.Management" > 753 <item name="android:textColor">?android:attr/textColorPrimary</item> 754 </style> 755 <style name="TextAppearance.Control.Management.Title"> 756 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 757 <item name="android:textSize">@dimen/controls_title_size</item> 758 </style> 759 <style name="TextAppearance.Control.Management.Subtitle"> 760 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 761 <item name="android:textSize">@dimen/controls_subtitle_size</item> 762 </style> 763 764 <style name="Control.ListPopupWindow" parent="@*android:style/Widget.DeviceDefault.ListPopupWindow"> 765 <item name="android:overlapAnchor">true</item> 766 767 <!-- used to override dark/light theming --> 768 <item name="*android:colorBackgroundFloating">@color/GM2_grey_800</item> 769 <item name="*android:colorPopupBackground">@color/GM2_grey_800</item> 770 <item name="*android:dialogCornerRadius">8dp</item> 771 </style> 772 773 <style name="TextAppearance.ControlSetup"> 774 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 775 <item name="android:textColor">@color/control_primary_text</item> 776 <item name="android:singleLine">true</item> 777 </style> 778 779 <style name="TextAppearance.ControlSetup.Title"> 780 <item name="android:textSize">@dimen/controls_setup_title</item> 781 </style> 782 783 <style name="TextAppearance.ControlSetup.Subtitle"> 784 <item name="android:textSize">@dimen/controls_setup_subtitle</item> 785 </style> 786 787 <!-- The attributes used for title (textAppearanceLarge) and message (textAppearanceMedium) 788 are already as necessary: 789 * Title: headline, medium 20sp 790 * Message: body, 16 sp --> 791 <style name="Theme.ControlsRequestDialog" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert"/> 792 793</resources> 794