| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2006 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
| <!-- NOTE: Adding the androidprv: namespace to this file will break the studio build. --> |
| <style name="ClearAllButtonDefaultMargins"> |
| <item name="android:layout_marginStart">0dp</item> |
| <item name="android:layout_marginTop">0dp</item> |
| <item name="android:layout_marginEnd">0dp</item> |
| <item name="android:layout_marginBottom">0dp</item> |
| </style> |
| |
| <style name="PipPhoneOverlayControlTheme" parent="@android:style/Theme.Material"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowContentOverlay">@null</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:colorBackgroundCacheHint">@null</item> |
| <item name="android:statusBarColor">@*android:color/transparent</item> |
| <item name="android:windowAnimationStyle">@style/Animation.PipPhoneOverlayControl</item> |
| </style> |
| |
| <style name="Animation.PipPhoneOverlayControl" parent="@android:style/Animation"> |
| <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> |
| |
| <!-- If the target stack doesn't have focus, we do a task to front animation. --> |
| <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> |
| <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> |
| </style> |
| |
| <!-- HybridNotification themes and styles --> |
| |
| <style name="HybridNotification"> |
| <item name="hybridNotificationStyle">@style/hybrid_notification</item> |
| <item name="hybridNotificationTitleStyle">@style/hybrid_notification_title</item> |
| <item name="hybridNotificationTextStyle">@style/hybrid_notification_text</item> |
| </style> |
| |
| <style name="hybrid_notification"> |
| <item name="android:paddingStart">@*android:dimen/notification_content_margin_start</item> |
| <item name="android:paddingEnd">12dp</item> |
| </style> |
| |
| <style name="hybrid_notification_title"> |
| <item name="android:paddingEnd">4dp</item> |
| <item name="android:textAppearance">@*android:style/TextAppearance.DeviceDefault.Notification.Title</item> |
| </style> |
| |
| <style name="hybrid_notification_text" |
| parent="@*android:style/Widget.DeviceDefault.Notification.Text"> |
| <item name="android:paddingEnd">4dp</item> |
| </style> |
| |
| |
| <style name="TextAppearance.StatusBar.HeadsUp" |
| parent="@*android:style/TextAppearance.StatusBar"> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.SystemPanel" |
| parent="@*android:style/TextAppearance.StatusBar"> |
| <item name="android:textAppearance">?android:attr/textAppearance</item> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textColor">#FF808080</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon"> |
| <item name="android:textSize">@dimen/status_bar_clock_size</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textColor">@color/status_bar_clock_color</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar"> |
| <item name="android:textColor">?android:attr/textColorTertiary</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded.Clock"> |
| <item name="android:textSize">@dimen/qs_time_expanded_size</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:textStyle">normal</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded.Date"> |
| <item name="android:textSize">@dimen/qs_time_expanded_size</item> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded.AboveDateTime"> |
| <item name="android:textSize">@dimen/qs_emergency_calls_only_text_size</item> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textColor">?android:attr/textColorTertiary</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded.EmergencyCallsOnly" |
| parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> |
| |
| <style name="TextAppearance.StatusBar.Expanded.ChargingInfo" |
| parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> |
| |
| <style name="TextAppearance.StatusBar.Expanded.UserSwitcher"> |
| <item name="android:textSize">@dimen/kg_user_switcher_text_size</item> |
| <item name="android:textStyle">normal</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">?attr/wallpaperTextColor</item> |
| </style> |
| |
| <style name="TextAppearance.StatusBar.Expanded.UserSwitcher.Activated"> |
| <item name="android:fontWeight">700</item> |
| </style> |
| |
| <style name="TextAppearance" /> |
| |
| <style name="TextAppearance.QS"> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailHeader"> |
| <item name="android:textSize">@dimen/qs_detail_header_text_size</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailItemPrimary"> |
| <item name="android:textSize">@dimen/qs_detail_item_primary_text_size</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailItemSecondary"> |
| <item name="android:textSize">@dimen/qs_detail_item_secondary_text_size</item> |
| <item name="android:textColor">?android:attr/colorAccent</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Introduction"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">@color/zen_introduction</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Warning"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">?android:attr/colorError</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailButton"> |
| <item name="android:textSize">@dimen/qs_detail_button_text_size</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| <item name="android:textAllCaps">true</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> |
| <item name="android:gravity">center</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailButton.White"> |
| <item name="android:textColor">@color/zen_introduction</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DetailEmpty"> |
| <item name="android:textSize">@dimen/qs_detail_empty_text_size</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Subhead"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">@color/qs_subhead</item> |
| </style> |
| |
| <style name="TextAppearance.QS.SegmentedButton"> |
| <item name="android:textSize">16sp</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DataUsage"> |
| <item name="android:textSize">@dimen/qs_data_usage_text_size</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DataUsage.Usage"> |
| <item name="android:textSize">@dimen/qs_data_usage_usage_text_size</item> |
| <item name="android:textColor">?android:attr/colorAccent</item> |
| </style> |
| |
| <style name="TextAppearance.QS.DataUsage.Secondary"> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.QS.TileLabel"> |
| <item name="android:textSize">@dimen/qs_tile_text_size</item> |
| <item name="android:letterSpacing">0.01</item> |
| <item name="android:lineHeight">20sp</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> |
| </style> |
| |
| <style name="TextAppearance.QS.TileLabel.Secondary"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| </style> |
| |
| <style name="TextAppearance.QS.UserSwitcher"> |
| <item name="android:textSize">@dimen/qs_detail_item_secondary_text_size</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.QS.UserSwitcher.Activated"> |
| <item name="android:fontWeight">700</item> |
| <item name="android:textStyle">bold</item> |
| </style> |
| |
| <!-- This is hard coded to be sans-serif-condensed to match the icons --> |
| <style name="TextAppearance.RATBadge" parent="@style/TextAppearance.QS.TileLabel.Secondary"> |
| <item name="android:fontFamily">sans-serif-condensed</item> |
| <item name="android:textSize">@dimen/celltile_rat_type_size</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Status"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:textSize">14sp</item> |
| <item name="android:letterSpacing">0.01</item> |
| <item name="android:lineHeight">20sp</item> |
| </style> |
| |
| <style name="TextAppearance.QS.SecurityFooter" parent="@style/TextAppearance.QS.Status"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Status.Carriers" /> |
| |
| <style name="TextAppearance.QS.Status.Carriers.NoCarrierText"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.QS.Status.Build"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.DeviceManagementDialog"> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <style name="TextAppearance.DeviceManagementDialog.Title" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
| |
| <style name="TextAppearance.AuthCredential"> |
| <item name="android:accessibilityLiveRegion">polite</item> |
| <item name="android:gravity">center_horizontal</item> |
| <item name="android:textAlignment">gravity</item> |
| <item name="android:layout_gravity">top</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <style name="TextAppearance.AuthCredential.Title"> |
| <item name="android:fontFamily">google-sans</item> |
| <item name="android:paddingTop">12dp</item> |
| <item name="android:paddingHorizontal">24dp</item> |
| <item name="android:textSize">24sp</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:ellipsize">marquee</item> |
| </style> |
| |
| <style name="TextAppearance.AuthCredential.Subtitle"> |
| <item name="android:fontFamily">google-sans</item> |
| <item name="android:paddingTop">8dp</item> |
| <item name="android:paddingHorizontal">24dp</item> |
| <item name="android:textSize">16sp</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:ellipsize">marquee</item> |
| </style> |
| |
| <style name="TextAppearance.AuthCredential.Description"> |
| <item name="android:fontFamily">google-sans</item> |
| <item name="android:paddingTop">8dp</item> |
| <item name="android:paddingHorizontal">24dp</item> |
| <item name="android:textSize">14sp</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:ellipsize">marquee</item> |
| </style> |
| |
| <style name="TextAppearance.AuthCredential.Error"> |
| <item name="android:paddingTop">6dp</item> |
| <item name="android:paddingHorizontal">24dp</item> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">?android:attr/colorError</item> |
| </style> |
| |
| <style name="TextAppearance.AuthCredential.PasswordEntry" parent="@android:style/TextAppearance.DeviceDefault"> |
| <item name="android:gravity">center</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:textColor">?android:attr/colorForeground</item> |
| <item name="android:textSize">24sp</item> |
| </style> |
| |
| <style name="DeviceManagementDialogTitle"> |
| <item name="android:gravity">center</item> |
| <item name="android:textAppearance">@style/TextAppearance.DeviceManagementDialog.Title</item> |
| </style> |
| |
| <style name="TextAppearance.DeviceManagementDialog.Content" parent="@*android:style/TextAppearance.DeviceDefault.Subhead"/> |
| |
| <style name="BaseBrightnessDialogContainer" parent="@style/Theme.SystemUI"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| </style> |
| |
| <style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" /> |
| |
| <style name="Animation" /> |
| |
| <style name="Animation.ShirtPocketPanel"> |
| <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item> |
| <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item> |
| </style> |
| |
| <style name="Animation.NavigationBarFadeIn"> |
| <item name="android:windowEnterAnimation">@anim/navbar_fade_in</item> |
| <item name="android:windowExitAnimation">@null</item> |
| </style> |
| |
| <style name="Animation.ShutdownUi" parent="@android:style/Animation.Toast"> |
| </style> |
| |
| <style name="Animation.MediaOutputDialog" parent="@android:style/Animation.InputMethod"> |
| </style> |
| |
| <!-- Standard animations for hiding and showing the status bar. --> |
| <style name="Animation.StatusBar"> |
| </style> |
| |
| <style name="Theme.SystemUI" parent="@*android:style/Theme.DeviceDefault.SystemUI"> |
| <item name="lightIconTheme">@style/DualToneLightTheme</item> |
| <item name="darkIconTheme">@style/DualToneDarkTheme</item> |
| <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item> |
| <item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_dark</item> |
| <item name="wallpaperTextColorAccent">@*android:color/system_accent1_100</item> |
| <item name="android:colorError">@*android:color/error_color_material_dark</item> |
| <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> |
| <item name="passwordStyle">@style/PasswordTheme</item> |
| <item name="numPadKeyStyle">@style/NumPadKey</item> |
| <item name="backgroundProtectedStyle">@style/BackgroundProtectedStyle</item> |
| <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item> |
| <item name="shadowRadius">@dimen/keyguard_shadow_radius</item> |
| |
| <!-- Needed for MediaRoute chooser dialog --> |
| <item name="*android:isLightTheme">false</item> |
| </style> |
| |
| <style name="Theme.SystemUI.LightWallpaper"> |
| <item name="wallpaperTextColor">@*android:color/primary_text_material_light</item> |
| <item name="wallpaperTextColorSecondary">@*android:color/secondary_text_material_light</item> |
| <item name="wallpaperTextColorAccent">@*android:color/system_accent2_600</item> |
| <item name="android:colorError">@*android:color/error_color_material_light</item> |
| <item name="shadowRadius">0</item> |
| |
| <!-- Needed for MediaRoute chooser dialog --> |
| <item name="*android:isLightTheme">true</item> |
| </style> |
| |
| <style name="BackgroundProtectedStyle"> |
| <item name="android:textColor">?attr/wallpaperTextColor</item> |
| </style> |
| |
| <style name="LockPatternContainerStyle"> |
| <item name="android:maxHeight">400dp</item> |
| <item name="android:maxWidth">420dp</item> |
| <item name="android:minHeight">0dp</item> |
| <item name="android:minWidth">0dp</item> |
| <item name="android:paddingBottom">0dp</item> |
| <item name="android:paddingHorizontal">44dp</item> |
| <item name="android:paddingTop">0dp</item> |
| </style> |
| |
| <style name="LockPatternStyle"> |
| <item name="*android:regularColor">?android:attr/colorAccent</item> |
| <item name="*android:successColor">?android:attr/textColorPrimary</item> |
| <item name="*android:errorColor">?android:attr/colorError</item> |
| <item name="*android:dotColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="LockPatternStyleBiometricPrompt"> |
| <item name="*android:regularColor">?android:attr/colorForeground</item> |
| <item name="*android:successColor">?android:attr/colorForeground</item> |
| <item name="*android:errorColor">?android:attr/colorError</item> |
| <item name="*android:dotColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="Theme.SystemUI.QuickSettings" parent="@*android:style/Theme.DeviceDefault"> |
| <item name="lightIconTheme">@style/QSIconTheme</item> |
| <item name="darkIconTheme">@style/QSIconTheme</item> |
| <item name="android:colorError">@*android:color/error_color_material_dark</item> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item> |
| <item name="offStateColor">@android:color/system_neutral1_800</item> |
| <item name="underSurfaceColor">@android:color/system_neutral1_1000</item> |
| <item name="android:colorBackground">@android:color/system_neutral1_900</item> |
| <item name="android:itemTextAppearance">@style/Control.MenuItem</item> |
| </style> |
| |
| <style name="Theme.SystemUI.QuickSettings.BrightnessDialog" parent="@android:style/Theme.DeviceDefault.Dialog"> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| </style> |
| |
| <style name="Theme.SystemUI.QuickSettings.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog"> |
| <item name="android:dialogCornerRadius">@dimen/notification_corner_radius</item> |
| </style> |
| |
| <!-- Overridden by values-television/styles.xml with tv-specific settings --> |
| <style name="volume_dialog_theme" parent="Theme.SystemUI"> |
| <item name="android:windowIsFloating">true</item> |
| </style> |
| |
| <style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog" /> |
| |
| <style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> |
| |
| <style name="Theme.SystemUI.Dialog.GlobalActions" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen"> |
| <item name="android:colorError">@*android:color/error_color_material_dark</item> |
| <item name="android:windowIsFloating">true</item> |
| </style> |
| |
| <style name="Theme.SystemUI.Dialog.GlobalActionsLite" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen"> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:windowCloseOnTouchOutside">true</item> |
| </style> |
| |
| <style name="Theme.SystemUI.Dialog.MediaOutput"> |
| <item name="android:windowBackground">@drawable/media_output_dialog_background</item> |
| </style> |
| |
| <style name="QSBorderlessButton"> |
| <item name="android:padding">12dp</item> |
| <item name="android:background">@drawable/qs_btn_borderless_rect</item> |
| <item name="android:gravity">center</item> |
| </style> |
| |
| <style name="SearchPanelCircle"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">match_parent</item> |
| </style> |
| |
| <style name="UserDetailView"> |
| <item name="numColumns">3</item> |
| </style> |
| |
| <style name="AutoSizingList"> |
| <item name="enableAutoSizing">true</item> |
| </style> |
| <style name="Theme.SystemUI.MediaProjectionAlertDialog"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowContentOverlay">@null</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:alertDialogTheme">@style/Theme.SystemUI.Dialog.Alert</item> |
| </style> |
| |
| <style name="DualToneLightTheme"> |
| <item name="backgroundColor">@color/light_mode_icon_color_dual_tone_background</item> |
| <item name="fillColor">@color/light_mode_icon_color_dual_tone_fill</item> |
| <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> |
| <item name="homeHandleColor">@color/navigation_bar_home_handle_light_color</item> |
| </style> |
| <style name="DualToneDarkTheme"> |
| <item name="backgroundColor">@color/dark_mode_icon_color_dual_tone_background</item> |
| <item name="fillColor">@color/dark_mode_icon_color_dual_tone_fill</item> |
| <item name="singleToneColor">@color/dark_mode_icon_color_single_tone</item> |
| <item name="homeHandleColor">@color/navigation_bar_home_handle_dark_color</item> |
| </style> |
| <style name="QSHeaderDarkTheme"> |
| <item name="backgroundColor">@color/dark_mode_qs_icon_color_dual_tone_background</item> |
| <item name="fillColor">@color/dark_mode_qs_icon_color_dual_tone_fill</item> |
| <item name="singleToneColor">@color/dark_mode_qs_icon_color_single_tone</item> |
| </style> |
| |
| <style name="Theme.SystemUI.QuickSettings.Header"> |
| <item name="lightIconTheme">@style/DualToneLightTheme</item> |
| <item name="darkIconTheme">@style/QSHeaderDarkTheme</item> |
| </style> |
| |
| <style name="QSIconTheme"> |
| <item name="backgroundColor">?android:attr/textColorHint</item> |
| <item name="fillColor">?android:attr/textColorPrimary</item> |
| <item name="singleToneColor">?android:attr/textColorPrimary</item> |
| </style> |
| <style name="ScreenPinningRequestTheme" parent="@*android:style/ThemeOverlay.DeviceDefault.Accent"> |
| <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> |
| </style> |
| |
| <style name="TextAppearance.Volume"> |
| <item name="android:textStyle">normal</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| </style> |
| |
| <style name="TextAppearance.Volume.Header"> |
| <item name="android:textSize">12sp</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.Volume.Header.Secondary"> |
| <item name="android:textSize">12sp</item> |
| <item name="android:textColor">?android:attr/textColorTertiary</item> |
| </style> |
| |
| <style name="VolumeButtons" parent="@android:style/Widget.Material.Button.Borderless"> |
| <item name="android:background">@drawable/btn_borderless_rect</item> |
| </style> |
| |
| <style name="TunerSettings" parent="@android:style/Theme.DeviceDefault.Settings"> |
| <item name="android:windowActionBar">false</item> |
| <item name="preferenceTheme">@style/TunerPreferenceTheme</item> |
| </style> |
| |
| <style name="TunerPreferenceTheme" parent="@style/PreferenceThemeOverlay.SettingsBase"> |
| </style> |
| |
| <style name="TextAppearance.NotificationInfo.Confirmation"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:alpha">0.87</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationInfo"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationInfo.Secondary"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:alpha">0.62</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationInfo.Title"> |
| <item name="android:textStyle">bold</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationInfo.Button"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">?android:attr/colorAccent</item> |
| <item name="android:background">@drawable/btn_borderless_rect</item> |
| <item name="android:gravity">center_vertical</item> |
| <item name="android:focusable">true</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceChannel"> |
| <item name="android:textSize">@dimen/notification_importance_channel_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textColor">@color/notification_guts_header_text_color</item> |
| <item name="android:textSize">@dimen/notification_importance_channel_text</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceChannelGroup"> |
| <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">@color/notification_guts_header_text_color</item> |
| <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceApp"> |
| <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">@color/notification_guts_sub_text_color</item> |
| <item name="android:textSize">@dimen/notification_importance_channel_group_text</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceHeader"> |
| <item name="android:textSize">@dimen/notification_importance_header_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">@color/notification_guts_header_text_color</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceDetail"> |
| <item name="android:textSize">@dimen/notification_importance_description_text</item> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| <item name="android:textColor">@color/notification_guts_sub_text_color</item> |
| <item name="android:gravity">center</item> |
| </style> |
| |
| <style name="TextAppearance.NotificationImportanceButton"> |
| <item name="android:textSize">@dimen/notification_importance_button_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textColor">@color/notification_guts_priority_contents</item> |
| <item name="android:gravity">center</item> |
| </style> |
| |
| <style |
| name="TextAppearance.NotificationSectionHeaderButton" |
| parent="@android:style/Widget.DeviceDefault.Button.Borderless"> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:textAllCaps">false</item> |
| <item name="android:textSize">14sp</item> |
| <item name="android:minWidth">0dp</item> |
| </style> |
| |
| <style name="TextAppearance.HeadsUpStatusBarText" |
| parent="@*android:style/TextAppearance.DeviceDefault.Notification.Info"> |
| </style> |
| |
| <style name="TextAppearance.QSEdit" > |
| <item name="android:textSize">14sp</item> |
| <item name="android:letterSpacing">0.01</item> |
| <item name="android:lineHeight">20sp</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="QSCustomizeToolbar" parent="@*android:style/Widget.DeviceDefault.Toolbar"> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:elevation">10dp</item> |
| </style> |
| |
| <!-- Media controls always have light background --> |
| <style name="MediaPlayer" parent="@*android:style/Theme.DeviceDefault.Light"> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:backgroundTint">@android:color/system_accent2_50</item> |
| </style> |
| |
| <style name="MediaPlayer.ProgressBar" parent="@android:style/Widget.ProgressBar.Horizontal"> |
| <item name="android:thumbTint">?android:attr/textColorPrimary</item> |
| <item name="android:progressTint">?android:attr/textColorPrimary</item> |
| <item name="android:progressBackgroundTint">?android:attr/textColorTertiary</item> |
| <item name="android:clickable">true</item> |
| <item name="android:splitTrack">false</item> |
| </style> |
| |
| <style name="MediaPlayer.Subtitle" parent="MediaPlayer"> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="MediaPlayer.Action" parent="@android:style/Widget.Material.Button.Borderless.Small"> |
| <item name="android:background">@drawable/qs_media_light_source</item> |
| <item name="android:tint">?android:attr/textColorPrimary</item> |
| <item name="android:stateListAnimator">@anim/media_button_state_list_animator</item> |
| <item name="android:paddingTop">8dp</item> |
| <item name="android:paddingStart">12dp</item> |
| <item name="android:paddingEnd">12dp</item> |
| <item name="android:paddingBottom">16dp</item> |
| <item name="android:scaleType">centerInside</item> |
| </style> |
| |
| <style name="MediaPlayer.OutlineButton"> |
| <item name="android:background">@drawable/qs_media_button_background</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:backgroundTint">@color/media_player_outline_button_bg</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:layout_gravity">center</item> |
| <item name="android:singleLine">true</item> |
| </style> |
| |
| <style name="MediaPlayer.SolidButton"> |
| <item name="android:backgroundTint">@color/media_player_solid_button_bg</item> |
| <item name="android:tint">?android:attr/colorPrimary</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <style name="MediaPlayer.AppIcon"> |
| <item name="android:background">@drawable/qs_media_icon_background</item> |
| <item name="android:backgroundTint">@color/media_player_solid_button_bg</item> |
| <item name="android:padding">4dp</item> |
| </style> |
| |
| <style name="MediaPlayer.Album"> |
| <item name="android:backgroundTint">@color/media_player_album_bg</item> |
| </style> |
| |
| <!-- Used to style charging animation AVD animation --> |
| <style name="ChargingAnim" /> |
| |
| <style name="ChargingAnim.WallpaperBackground"> |
| <item name="chargingAnimColor">?attr/wallpaperTextColor</item> |
| <item name="android:textColor">?attr/wallpaperTextColor</item> |
| </style> |
| |
| <style name="ChargingAnim.DarkBackground"> |
| <item name="chargingAnimColor">@android:color/white</item> |
| <item name="android:textColor">@android:color/white</item> |
| </style> |
| |
| <!-- Screen recording --> |
| <style name="ScreenRecord" parent="@android:style/Theme.DeviceDefault.DayNight"> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:windowCloseOnTouchOutside">true</item> |
| </style> |
| |
| <style name="ScreenRecord.Switch"> |
| <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:switchMinWidth">52dp</item> |
| <item name="android:minHeight">48dp</item> |
| <item name="android:track">@drawable/settingslib_switch_track</item> |
| <item name="android:thumb">@drawable/settingslib_switch_thumb</item> |
| </style> |
| |
| <!-- Screenshots --> |
| <style name="LongScreenshotActivity" parent="@android:style/Theme.DeviceDefault.DayNight"> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowLightStatusBar">true</item> |
| <item name="android:windowLightNavigationBar">true</item> |
| <item name="android:navigationBarColor">?android:attr/colorBackgroundFloating</item> |
| <item name="android:windowActivityTransitions">true</item> |
| </style> |
| |
| <style name="Screenshot" parent="@android:style/Theme.DeviceDefault.DayNight"/> |
| |
| <!-- Privacy dialog --> |
| <style name="PrivacyDialog" parent="Theme.SystemUI.QuickSettings.Dialog"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:windowCloseOnTouchOutside">true</item> |
| <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> |
| </style> |
| |
| <!-- USB Contaminant dialog --> |
| <style name ="USBContaminant" /> |
| |
| <style name ="USBContaminant.UserAction"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:fontFamily">roboto-regular</item> |
| <item name="android:paddingLeft">16dp</item> |
| <item name="android:paddingTop">16dp</item> |
| <item name="android:paddingRight">24dp</item> |
| <item name="android:paddingBottom">16dp</item> |
| <item name="android:textAlignment">viewStart</item> |
| <item name="android:textSize">16sp</item> |
| <item name="android:clickable">true</item> |
| <item name="android:background">?android:attr/selectableItemBackground</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <!-- Controls styles --> |
| <style name="Theme.ControlsManagement" parent="@android:style/Theme.DeviceDefault.NoActionBar"> |
| <item name="android:windowActivityTransitions">true</item> |
| <item name="android:windowContentTransitions">false</item> |
| <item name="android:windowIsTranslucent">false</item> |
| <item name="android:windowBackground">@android:color/black</item> |
| <item name="android:colorBackground">@android:color/black</item> |
| <item name="android:windowAnimationStyle">@null</item> |
| <item name="android:statusBarColor">@*android:color/transparent</item> |
| <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item> |
| </style> |
| |
| <style name="Theme.ControlsActivity" parent="@android:style/Theme.DeviceDefault.NoActionBar"> |
| <item name="android:windowActivityTransitions">true</item> |
| <item name="android:windowContentTransitions">false</item> |
| <item name="android:windowIsTranslucent">false</item> |
| <item name="android:windowBackground">@android:color/black</item> |
| <item name="android:windowAnimationStyle">@null</item> |
| <item name="android:statusBarColor">@android:color/black</item> |
| <!-- Setting a placeholder will avoid using the SystemUI icon on the splash screen --> |
| <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_blank</item> |
| <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item> |
| </style> |
| |
| <style name="Theme.CreateUser" parent="@style/Theme.SystemUI"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">#33000000</item> |
| <item name="android:windowActionBar">false</item> |
| <item name="android:windowNoTitle">true</item> |
| </style> |
| |
| <style name="Theme.PeopleTileConfigActivity" parent="@style/Theme.SystemUI"> |
| <item name="android:windowActionBar">false</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowLightStatusBar">true</item> |
| </style> |
| |
| <style name="TextAppearance.Control"> |
| <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> |
| </style> |
| |
| <style name="Theme.SystemUI.Dialog.Control.DetailPanel" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar"> |
| <item name="android:windowFullscreen">false</item> |
| <item name="android:windowIsFloating">false</item> |
| <item name="android:windowBackground">@android:color/black</item> |
| <item name="android:backgroundDimEnabled">false</item> |
| <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> |
| </style> |
| |
| <style name="Control" /> |
| |
| <style name="Control.MenuItem"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textSize">@dimen/control_menu_item_text_size</item> |
| <item name="android:textColor">@color/control_primary_text</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:gravity">center_vertical</item> |
| <item name="android:minHeight">@dimen/control_menu_item_min_height</item> |
| </style> |
| |
| <style name="Control.Spinner"> |
| <item name="android:textColor">@color/control_primary_text</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:ellipsize">end</item> |
| </style> |
| |
| <style name="Control.Spinner.Header"> |
| <item name="android:background">@drawable/control_spinner_background</item> |
| <item name="android:textSize">@dimen/control_header_text_size</item> |
| </style> |
| |
| <style name="Control.Spinner.Item"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textSize">@dimen/control_item_text_size</item> |
| </style> |
| |
| <style name="TextAppearance.Control.Status"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textSize">@dimen/control_status_normal</item> |
| <item name="android:textColor">@color/control_primary_text</item> |
| </style> |
| |
| <style name="TextAppearance.Control.Title"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textSize">@dimen/control_text_size</item> |
| <item name="android:lineSpacingExtra">6sp</item> |
| <item name="android:textColor">@color/control_primary_text</item> |
| </style> |
| <style name="TextAppearance.Control.Subtitle"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textSize">@dimen/control_text_size</item> |
| <item name="android:textColor">@color/control_secondary_text</item> |
| </style> |
| <style name="TextAppearance.Control.Management" > |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| <style name="TextAppearance.Control.Management.Title"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
| <item name="android:textSize">@dimen/controls_title_size</item> |
| </style> |
| <style name="TextAppearance.Control.Management.Subtitle"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textSize">@dimen/controls_subtitle_size</item> |
| </style> |
| |
| <style name="Control.ListPopupWindow" parent="@*android:style/Widget.DeviceDefault.ListPopupWindow"> |
| <item name="android:overlapAnchor">true</item> |
| |
| <!-- used to override dark/light theming --> |
| <item name="*android:colorBackgroundFloating">@color/GM2_grey_800</item> |
| <item name="*android:colorPopupBackground">@color/GM2_grey_800</item> |
| <item name="*android:dialogCornerRadius">8dp</item> |
| </style> |
| |
| <style name="TextAppearance.ControlSetup"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">@color/control_primary_text</item> |
| </style> |
| |
| <style name="TextAppearance.ControlSetup.Title"> |
| <item name="android:textSize">@dimen/controls_setup_title</item> |
| <item name="android:singleLine">true</item> |
| </style> |
| |
| <style name="TextAppearance.ControlSetup.Subtitle"> |
| <item name="android:textSize">@dimen/controls_setup_subtitle</item> |
| <item name="android:maxLines">2</item> |
| </style> |
| |
| <!-- The attributes used for title (textAppearanceLarge) and message (textAppearanceMedium) |
| are already as necessary: |
| * Title: headline, medium 20sp |
| * Message: body, 16 sp --> |
| <style name="Theme.ControlsRequestDialog" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert"/> |
| |
| <style name="TextAppearance.PrivacyDialog"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| </style> |
| |
| <!-- Wallet styles --> |
| <style name="Wallet" /> |
| |
| <style name="Wallet.TextAppearance"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:textSize">14sp</item> |
| </style> |
| |
| <style name="Wallet.Theme" parent="@android:style/Theme.DeviceDefault"> |
| <item name="android:colorBackground">@android:color/system_neutral1_900</item> |
| <item name="android:itemBackground">@android:color/system_neutral1_800</item> |
| <!-- Setting a placeholder will avoid using the SystemUI icon on the splash screen. --> |
| <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_blank</item> |
| </style> |
| |
| <style name="Animation.InternetDialog" parent="@android:style/Animation.InputMethod"> |
| </style> |
| |
| <style name="Widget.SliceView.Panel"> |
| <item name="titleSize">16sp</item> |
| <item name="rowStyle">@style/SliceRow</item> |
| <item name="android:background">?android:attr/colorBackgroundFloating</item> |
| </style> |
| |
| <style name="SliceRow"> |
| <!-- 2dp start padding for the start icon --> |
| <item name="titleItemStartPadding">2dp</item> |
| <item name="titleItemEndPadding">0dp</item> |
| |
| <!-- Padding between content and the start icon is 14dp --> |
| <item name="contentStartPadding">14dp</item> |
| <!-- Padding between content and end items is 16dp --> |
| <item name="contentEndPadding">16dp</item> |
| |
| <!-- Both side margins of end item are 16dp --> |
| <item name="endItemStartPadding">16dp</item> |
| <item name="endItemEndPadding">16dp</item> |
| |
| <!-- Both side margins of bottom divider are 12dp --> |
| <item name="bottomDividerStartPadding">12dp</item> |
| <item name="bottomDividerEndPadding">12dp</item> |
| |
| <item name="actionDividerHeight">32dp</item> |
| </style> |
| |
| <style name="Theme.SystemUI.Dialog.Internet"> |
| <item name="android:windowBackground">@drawable/internet_dialog_background</item> |
| </style> |
| |
| <style name="MainSwitch.Settingslib" parent="@android:style/Theme.DeviceDefault"> |
| <item name="android:switchMinWidth">@dimen/settingslib_min_switch_width</item> |
| </style> |
| |
| <style name="TrimmedHorizontalProgressBar" |
| parent="android:Widget.Material.ProgressBar.Horizontal"> |
| <item name="android:indeterminateDrawable"> |
| @drawable/progress_indeterminate_horizontal_material_trimmed |
| </item> |
| <item name="android:minHeight">4dp</item> |
| <item name="android:maxHeight">4dp</item> |
| </style> |
| |
| <!-- Internet Dialog --> |
| <style name="InternetDialog"> |
| <item name="android:layout_width">wrap_content</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:layout_gravity">center_vertical|start</item> |
| <item name="android:layout_marginStart">@dimen/internet_dialog_network_layout_margin</item> |
| </style> |
| |
| <style name="InternetDialog.Network"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">88dp</item> |
| <item name="android:layout_marginEnd">@dimen/internet_dialog_network_layout_margin</item> |
| <item name="android:paddingStart">22dp</item> |
| <item name="android:paddingEnd">22dp</item> |
| <item name="android:orientation">horizontal</item> |
| <item name="android:focusable">true</item> |
| <item name="android:clickable">true</item> |
| </style> |
| |
| <style name="InternetDialog.NetworkTitle"> |
| <item name="android:layout_marginEnd">7dp</item> |
| <item name="android:ellipsize">end</item> |
| <item name="android:textAppearance">@style/TextAppearance.InternetDialog</item> |
| </style> |
| |
| <style name="InternetDialog.NetworkTitle.Active"> |
| <item name="android:textAppearance">@style/TextAppearance.InternetDialog.Active</item> |
| </style> |
| |
| <style name="InternetDialog.NetworkSummary"> |
| <item name="android:layout_marginEnd">34dp</item> |
| <item name="android:ellipsize">end</item> |
| <item name="android:textAppearance">@style/TextAppearance.InternetDialog.Secondary</item> |
| </style> |
| |
| <style name="InternetDialog.NetworkSummary.Active"> |
| <item name="android:textAppearance">@style/TextAppearance.InternetDialog.Secondary.Active |
| </item> |
| </style> |
| |
| <style name="TextAppearance.InternetDialog"> |
| <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> |
| <item name="android:textSize">16sp</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:textDirection">locale</item> |
| </style> |
| |
| <style name="TextAppearance.InternetDialog.Secondary"> |
| <item name="android:textSize">14sp</item> |
| <item name="android:textColor">?android:attr/textColorSecondary</item> |
| </style> |
| |
| <style name="TextAppearance.InternetDialog.Active"/> |
| |
| <style name="TextAppearance.InternetDialog.Secondary.Active"/> |
| |
| </resources> |