Amith Yamasani | 25b69eb | 2011-01-07 15:31:35 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 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> |
Russell Brenner | ac57f3e | 2013-08-28 09:44:30 -0700 | [diff] [blame] | 18 | |
Fan Zhang | a122be1 | 2018-07-16 16:28:37 -0700 | [diff] [blame] | 19 | <style name="Transparent"> |
tmfang | 5bd7151 | 2018-07-17 13:53:04 +0800 | [diff] [blame] | 20 | <item name="alertDialogTheme">@style/Theme.AlertDialog</item> |
Maurice Lam | dd3e243 | 2015-11-05 18:51:05 -0800 | [diff] [blame] | 21 | <item name="android:windowBackground">@android:color/transparent</item> |
| 22 | <item name="android:windowNoTitle">true</item> |
| 23 | <item name="android:windowIsFloating">true</item> |
Maurice Lam | dd3e243 | 2015-11-05 18:51:05 -0800 | [diff] [blame] | 24 | </style> |
| 25 | |
Fan Zhang | a7689b4 | 2017-01-13 11:13:54 -0800 | [diff] [blame] | 26 | <style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" /> |
Alan Viverette | 1eb5283 | 2014-06-03 11:15:54 -0700 | [diff] [blame] | 27 | |
| 28 | <style name="Theme.Settings" parent="Theme.SettingsBase"> |
Jason Monk | 52a302e | 2015-10-28 14:34:53 -0400 | [diff] [blame] | 29 | <item name="preferenceTheme">@style/PreferenceTheme</item> |
Fan Zhang | 1c118b5 | 2016-12-09 13:04:24 -0800 | [diff] [blame] | 30 | <item name="android:listPreferredItemHeight">72dip</item> |
Fabrice Di Meglio | 5c3fd1c | 2014-07-02 18:16:35 -0700 | [diff] [blame] | 31 | |
Maurice Lam | 8d1f9c9 | 2015-07-09 16:38:37 -0700 | [diff] [blame] | 32 | <item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item> |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 33 | <item name="face_layout_theme">@style/FaceLayoutTheme</item> |
Russell Brenner | ac57f3e | 2013-08-28 09:44:30 -0700 | [diff] [blame] | 34 | <item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item> |
Maurice Lam | b50dfb7 | 2015-04-20 18:18:54 -0700 | [diff] [blame] | 35 | <item name="wifi_signal">@drawable/wifi_signal</item> |
Jason Monk | 2d49953 | 2015-06-03 10:53:03 -0400 | [diff] [blame] | 36 | <item name="wifi_signal_color">?android:attr/colorAccent</item> |
Stephen Chen | 20bfe52 | 2017-01-18 15:32:02 -0800 | [diff] [blame] | 37 | <item name="wifi_friction">@drawable/wifi_friction</item> |
Maurice Lam | ecd2b7b | 2014-12-01 10:41:49 -0800 | [diff] [blame] | 38 | <item name="side_margin">@dimen/settings_side_margin</item> |
Udam Saini | 01c581b | 2016-03-09 17:25:39 -0800 | [diff] [blame] | 39 | <item name="suwListItemIconColor">?android:attr/colorAccent</item> |
Alan Viverette | ab585d8 | 2014-04-15 17:42:33 -0700 | [diff] [blame] | 40 | |
Fabrice Di Meglio | 9c3f11f | 2014-07-23 13:31:26 -0700 | [diff] [blame] | 41 | <!-- Redefine the ActionBar style for contentInsetStart --> |
| 42 | <item name="android:actionBarStyle">@style/Theme.ActionBar</item> |
Fabrice Di Meglio | 676e9c1 | 2014-06-24 15:29:08 -0700 | [diff] [blame] | 43 | |
Alan Viverette | fd05a78 | 2015-03-27 10:23:45 -0700 | [diff] [blame] | 44 | <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 45 | |
Fabrice Di Meglio | d40dd45 | 2014-07-18 15:20:34 -0700 | [diff] [blame] | 46 | <item name="preferenceBackgroundColor">@drawable/preference_background</item> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 47 | |
tmfang | 5bd7151 | 2018-07-17 13:53:04 +0800 | [diff] [blame] | 48 | <!-- For AndroidX AlertDialog --> |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 49 | <item name="alertDialogTheme">@style/Theme.AlertDialog</item> |
Selim Cinek | 59db294 | 2014-06-05 07:19:21 +0200 | [diff] [blame] | 50 | |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 51 | <item name="*android:lockPatternStyle">@style/LockPatternStyle.Setup</item> |
Jyun LuoLai | dbcc3d4 | 2018-03-28 17:45:44 +0800 | [diff] [blame] | 52 | |
| 53 | <!-- For battery status icons in --> |
| 54 | <item name="batteryGoodColor">@color/battery_good_color_light</item> |
| 55 | <item name="batteryMaybeColor">@color/battery_maybe_color_light</item> |
| 56 | <item name="batteryBadColor">@color/battery_bad_color_light</item> |
Fabrice Di Meglio | 6338695 | 2014-05-28 20:08:55 -0700 | [diff] [blame] | 57 | </style> |
| 58 | |
Fan Zhang | a122be1 | 2018-07-16 16:28:37 -0700 | [diff] [blame] | 59 | <!-- Variant of the settings theme with no action bar. --> |
| 60 | <style name="Theme.Settings.NoActionBar"> |
| 61 | <item name="android:windowActionBar">false</item> |
| 62 | <item name="android:windowNoTitle">true</item> |
| 63 | </style> |
| 64 | |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 65 | <style name="Theme.SubSettings" parent="Theme.Settings"> |
| 66 | <!-- Redefine the ActionBar style for contentInsetStart --> |
| 67 | <item name="android:actionBarStyle">@style/Theme.ActionBar.SubSettings</item> |
| 68 | |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 69 | <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 70 | </style> |
| 71 | |
Jeremy Klein | e3e7b95 | 2016-01-25 14:43:49 -0800 | [diff] [blame] | 72 | <style name="Theme.ProvisioningActivity" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 73 | <item name="android:windowAnimationStyle">@null</item> |
| 74 | <item name="android:windowIsTranslucent">true</item> |
| 75 | <item name="android:windowBackground">@android:color/transparent</item> |
| 76 | <item name="android:windowContentOverlay">@null</item> |
| 77 | <item name="android:windowNoTitle">true</item> |
| 78 | <item name="android:windowIsFloating">true</item> |
| 79 | <item name="android:backgroundDimEnabled">false</item> |
| 80 | </style> |
| 81 | |
Fan Zhang | a7689b4 | 2017-01-13 11:13:54 -0800 | [diff] [blame] | 82 | <style name="ThemeOverlay.SwitchBar.Settings" parent="@android:style/ThemeOverlay.Material.ActionBar"> |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 83 | <item name="android:textColorPrimary">@android:color/white</item> |
Jason Monk | 99e607d | 2016-04-12 12:35:01 -0400 | [diff] [blame] | 84 | <item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item> |
| 85 | <item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item> |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 86 | <item name="switchBarBackgroundColor">@color/switch_bar_background</item> |
| 87 | <item name="switchBarBackgroundActivatedColor">?android:attr/colorAccent</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 88 | </style> |
| 89 | |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 90 | <style name="Widget.SwitchBar.Switch" parent="@android:style/Widget.Material.CompoundButton.Switch"> |
| 91 | <item name="android:trackTint">@color/switchbar_switch_track_tint</item> |
| 92 | <item name="android:thumbTint">@color/switchbar_switch_thumb_tint</item> |
Fan Zhang | 36e61e1 | 2018-05-17 14:05:53 -0700 | [diff] [blame] | 93 | <item name="android:minHeight">@dimen/min_tap_target_size</item> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 94 | </style> |
| 95 | |
Paul Lawrence | 89c7570 | 2014-07-11 07:34:44 -0700 | [diff] [blame] | 96 | <style name="Theme.CryptKeeper" parent="@android:style/Theme.Material.NoActionBar"> |
Paul Lawrence | aa05738 | 2014-07-16 10:21:04 -0700 | [diff] [blame] | 97 | <item name="android:windowTranslucentStatus">false</item> |
| 98 | <item name="android:windowTranslucentNavigation">false</item> |
| 99 | <item name="android:windowDrawsSystemBarBackgrounds">false</item> |
Paul Lawrence | 8e53d7f | 2015-01-16 11:43:07 -0800 | [diff] [blame] | 100 | <item name="android:background">@android:color/black</item> |
Paul Lawrence | aa05738 | 2014-07-16 10:21:04 -0700 | [diff] [blame] | 101 | |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 102 | <item name="*android:lockPatternStyle">@style/LockPatternStyle.Unlock</item> |
Paul Lawrence | 26abe64 | 2014-06-11 15:24:37 -0700 | [diff] [blame] | 103 | </style> |
| 104 | |
Maurice Lam | ba41945 | 2015-05-08 15:01:48 -0700 | [diff] [blame] | 105 | <style name="ThemeOverlay.AlertDialog" parent="@android:style/ThemeOverlay.Material.Dialog.Alert"> |
| 106 | <item name="android:windowSoftInputMode">adjustResize</item> |
| 107 | </style> |
| 108 | |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 109 | <style name="Theme.AlertDialog" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert"> |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 110 | <item name="android:windowSoftInputMode">adjustResize</item> |
| 111 | |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 112 | <!-- Redefine the ActionBar style for contentInsetStart --> |
| 113 | <item name="android:actionBarStyle">@style/Theme.ActionBar</item> |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 114 | |
| 115 | <!-- copied from Theme.DeviceDefault.Light.Dialog.Alert --> |
| 116 | <item name="colorAccent">@*android:color/accent_device_default_light</item> |
| 117 | <item name="dialogCornerRadius">@*android:dimen/config_dialogCornerRadius</item> |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 118 | </style> |
| 119 | |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 120 | <style name="Theme.ConfirmDeviceCredentials" parent="Theme.SubSettings"> |
Jaewoong Jung | 97e8c99 | 2016-09-27 17:44:24 -0700 | [diff] [blame] | 121 | <item name="confirmDeviceCredentialsSideMargin">@dimen/confirm_credentials_side_margin</item> |
| 122 | <item name="confirmDeviceCredentialsTopMargin">@dimen/confirm_credentials_top_margin</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 123 | </style> |
| 124 | |
Andrew Sapperstein | 5b66e14 | 2016-06-11 12:12:44 -0700 | [diff] [blame] | 125 | <style name="Theme.ConfirmDeviceCredentialsDark" parent="@android:style/Theme.DeviceDefault"> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 126 | <item name="android:windowActionBar">false</item> |
| 127 | <item name="android:windowNoTitle">true</item> |
Andrew Sapperstein | 0067760 | 2016-05-23 16:38:28 -0700 | [diff] [blame] | 128 | <item name="android:windowBackground">?android:attr/colorPrimary</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 129 | |
| 130 | <item name="confirmDeviceCredentialsSideMargin">32dp</item> |
| 131 | <item name="confirmDeviceCredentialsTopMargin">32dp</item> |
| 132 | |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 133 | <item name="*android:lockPatternStyle">@style/LockPatternStyle.Dark</item> |
Jorim Jaggi | ff41a9a | 2015-06-09 15:31:28 -0700 | [diff] [blame] | 134 | |
| 135 | <item name="android:windowAnimationStyle">@style/ConfirmDeviceCredentialsAnimationStyle</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 136 | </style> |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 137 | |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 138 | <style name="Theme.ConfirmDeviceCredentialsWork" parent="Theme.ConfirmDeviceCredentialsDark"> |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 139 | <item name="*android:lockPatternStyle">@style/LockPatternStyle.Dark.Work</item> |
Mahaver Chopra | c63ef94 | 2016-03-16 17:21:45 +0000 | [diff] [blame] | 140 | <item name="android:colorAccent">@*android:color/white</item> |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 141 | </style> |
Jorim Jaggi | 5ad75f0 | 2015-04-22 16:17:23 -0700 | [diff] [blame] | 142 | |
Jorim Jaggi | 9840794 | 2016-08-02 11:53:12 +0200 | [diff] [blame] | 143 | <style name="FallbackHome" parent="@android:style/Theme.DeviceDefault.NoActionBar"> |
Jeff Sharkey | c80dc5e | 2016-05-03 17:25:37 -0600 | [diff] [blame] | 144 | <item name="android:windowBackground">@android:color/transparent</item> |
| 145 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 146 | <item name="android:windowShowWallpaper">true</item> |
| 147 | <item name="android:windowNoTitle">true</item> |
| 148 | <item name="android:windowTranslucentStatus">false</item> |
| 149 | <item name="android:windowTranslucentNavigation">false</item> |
| 150 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 151 | <item name="android:statusBarColor">#00000000</item> |
| 152 | <item name="android:navigationBarColor">#00000000</item> |
Jeff Sharkey | e555a6f | 2016-02-23 20:48:01 -0700 | [diff] [blame] | 153 | </style> |
| 154 | |
Jorim Jaggi | a616a0d | 2016-06-29 16:33:39 -0700 | [diff] [blame] | 155 | <style name="FallbackHome.SetupWizard" parent="@android:style/Theme.Material.NoActionBar.Fullscreen"> |
| 156 | <item name="android:windowBackground">@drawable/fallback_home_unprovisioned_background</item> |
| 157 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 158 | <item name="android:windowNoTitle">true</item> |
| 159 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 160 | <item name="android:statusBarColor">#00000000</item> |
| 161 | <item name="android:navigationBarColor">#00000000</item> |
| 162 | </style> |
| 163 | |
Fan Zhang | a122be1 | 2018-07-16 16:28:37 -0700 | [diff] [blame] | 164 | <style name="Theme.BluetoothPermission" parent="@android:style/Theme.Material.Light.Dialog.Alert"> |
Svetoslav Ganov | b06766f | 2016-07-22 20:08:41 -0700 | [diff] [blame] | 165 | <item name="android:windowNoTitle">true</item> |
| 166 | </style> |
| 167 | |
Raff Tsai | 082f8ee | 2018-06-29 06:11:39 +0000 | [diff] [blame] | 168 | <style name="Theme.Settings.Home" parent="Theme.AppCompat.Light.NoActionBar"> |
Fan Zhang | a122be1 | 2018-07-16 16:28:37 -0700 | [diff] [blame] | 169 | <!-- Color names copied from frameworks/base/core/res/res/values/themes_device_defaults.xml --> |
Raff Tsai | 082f8ee | 2018-06-29 06:11:39 +0000 | [diff] [blame] | 170 | <item name="colorPrimary">@*android:color/primary_device_default_settings_light</item> |
| 171 | <item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item> |
Raff Tsai | 00d42c5 | 2018-07-12 17:32:46 +0800 | [diff] [blame] | 172 | <item name="android:colorAccent">@*android:color/accent_device_default_light</item> |
Mill Chen | dff64a0 | 2018-07-20 15:13:45 +0800 | [diff] [blame] | 173 | <item name="android:windowLightStatusBar">true</item> |
Raff Tsai | 082f8ee | 2018-06-29 06:11:39 +0000 | [diff] [blame] | 174 | </style> |
| 175 | |
Amith Yamasani | 25b69eb | 2011-01-07 15:31:35 -0800 | [diff] [blame] | 176 | </resources> |