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 | |
Tsung-Mao Fang | 53f94d3 | 2021-06-21 18:17:27 +0800 | [diff] [blame] | 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 | |
Alan Viverette | 1eb5283 | 2014-06-03 11:15:54 -0700 | [diff] [blame] | 26 | <style name="Theme.Settings" parent="Theme.SettingsBase"> |
Fan Zhang | b4b7725 | 2019-05-14 17:25:02 +0000 | [diff] [blame] | 27 | <item name="android:clipToPadding">false</item> |
| 28 | <item name="android:clipChildren">false</item> |
Edgar Wang | 817a167 | 2021-04-14 09:54:04 +0800 | [diff] [blame] | 29 | <item name="preferenceTheme">@style/SettingsPreferenceTheme</item> |
Fan Zhang | 1c118b5 | 2016-12-09 13:04:24 -0800 | [diff] [blame] | 30 | <item name="android:listPreferredItemHeight">72dip</item> |
Amin Shaikh | 3f1de20 | 2019-05-01 17:29:02 -0400 | [diff] [blame] | 31 | <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item> |
Fan Zhang | b4b7725 | 2019-05-14 17:25:02 +0000 | [diff] [blame] | 32 | <item name="android:navigationBarColor">@android:color/transparent</item> |
Sunny Shao | b1c4b02 | 2019-09-27 21:32:11 +0800 | [diff] [blame] | 33 | <item name="android:datePickerDialogTheme">@style/PickerDialogTheme.Settings</item> |
Fabrice Di Meglio | 5c3fd1c | 2014-07-02 18:16:35 -0700 | [diff] [blame] | 34 | |
Maurice Lam | 8d1f9c9 | 2015-07-09 16:38:37 -0700 | [diff] [blame] | 35 | <item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item> |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 36 | <item name="face_layout_theme">@style/FaceLayoutTheme</item> |
Russell Brenner | ac57f3e | 2013-08-28 09:44:30 -0700 | [diff] [blame] | 37 | <item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item> |
jackqdyulei | 2fba194 | 2018-12-17 16:58:25 -0800 | [diff] [blame] | 38 | |
Tsung-Mao Fang | df00a3b | 2021-06-23 17:53:59 +0800 | [diff] [blame] | 39 | <!-- For edge-to-edge --> |
| 40 | <item name="android:navigationBarColor">@android:color/transparent</item> |
| 41 | <item name="android:statusBarColor">@android:color/transparent</item> |
| 42 | |
jackqdyulei | 2fba194 | 2018-12-17 16:58:25 -0800 | [diff] [blame] | 43 | <!-- For wifi icon --> |
Maurice Lam | b50dfb7 | 2015-04-20 18:18:54 -0700 | [diff] [blame] | 44 | <item name="wifi_signal">@drawable/wifi_signal</item> |
Jason Monk | 2d49953 | 2015-06-03 10:53:03 -0400 | [diff] [blame] | 45 | <item name="wifi_signal_color">?android:attr/colorAccent</item> |
Stephen Chen | 20bfe52 | 2017-01-18 15:32:02 -0800 | [diff] [blame] | 46 | <item name="wifi_friction">@drawable/wifi_friction</item> |
jackqdyulei | 2fba194 | 2018-12-17 16:58:25 -0800 | [diff] [blame] | 47 | |
Doris Ling | c5a1b4f | 2019-02-20 16:33:24 -0800 | [diff] [blame] | 48 | <item name="side_margin">0dp</item> |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 49 | <item name="sudListItemIconColor">?android:attr/colorAccent</item> |
Alan Viverette | ab585d8 | 2014-04-15 17:42:33 -0700 | [diff] [blame] | 50 | |
Fabrice Di Meglio | 9c3f11f | 2014-07-23 13:31:26 -0700 | [diff] [blame] | 51 | <!-- Redefine the ActionBar style for contentInsetStart --> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 52 | <item name="android:actionBarStyle">@style/Widget.ActionBar</item> |
Fabrice Di Meglio | 676e9c1 | 2014-06-24 15:29:08 -0700 | [diff] [blame] | 53 | |
Alan Viverette | fd05a78 | 2015-03-27 10:23:45 -0700 | [diff] [blame] | 54 | <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 55 | |
Fabrice Di Meglio | d40dd45 | 2014-07-18 15:20:34 -0700 | [diff] [blame] | 56 | <item name="preferenceBackgroundColor">@drawable/preference_background</item> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 57 | |
tmfang | 5bd7151 | 2018-07-17 13:53:04 +0800 | [diff] [blame] | 58 | <!-- For AndroidX AlertDialog --> |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 59 | <item name="alertDialogTheme">@style/Theme.AlertDialog</item> |
Selim Cinek | 59db294 | 2014-06-05 07:19:21 +0200 | [diff] [blame] | 60 | |
Matt Pietal | c4aa3b4 | 2021-10-14 09:23:54 -0400 | [diff] [blame] | 61 | <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> |
Jyun LuoLai | dbcc3d4 | 2018-03-28 17:45:44 +0800 | [diff] [blame] | 62 | |
tmfang | d0fb3ff | 2019-02-23 13:28:00 +0800 | [diff] [blame] | 63 | <!-- For AppBarLayout --> |
| 64 | <item name="colorPrimary">@*android:color/primary_device_default_settings_light</item> |
| 65 | <item name="colorPrimaryVariant">@android:color/white</item> |
| 66 | |
jackqdyulei | cf6374e | 2018-12-10 13:27:25 -0800 | [diff] [blame] | 67 | <!-- For slice view in settings --> |
| 68 | <item name="sliceViewStyle">@style/Widget.SliceView.Settings</item> |
Fabrice Di Meglio | 6338695 | 2014-05-28 20:08:55 -0700 | [diff] [blame] | 69 | </style> |
| 70 | |
Fan Zhang | a122be1 | 2018-07-16 16:28:37 -0700 | [diff] [blame] | 71 | <!-- Variant of the settings theme with no action bar. --> |
| 72 | <style name="Theme.Settings.NoActionBar"> |
| 73 | <item name="android:windowActionBar">false</item> |
| 74 | <item name="android:windowNoTitle">true</item> |
| 75 | </style> |
| 76 | |
Mill Chen | 14cfd2f | 2021-01-06 07:46:46 +0800 | [diff] [blame] | 77 | <style name="Theme.SubSettings.Base" parent="Theme.Settings.NoActionBar"> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 78 | <!-- Redefine the ActionBar style for contentInsetStart --> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 79 | <item name="android:actionBarStyle">@style/Widget.ActionBar.SubSettings</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 80 | |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 81 | <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item> |
Mill Chen | 23d3ecc | 2021-03-23 23:09:47 +0800 | [diff] [blame] | 82 | <item name="android:navigationBarColor">@android:color/transparent</item> |
| 83 | <item name="android:statusBarColor">@android:color/transparent</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 84 | </style> |
| 85 | |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 86 | <style name="Theme.SubSettings" parent="Theme.SubSettings.Base"/> |
| 87 | |
Jeremy Klein | e3e7b95 | 2016-01-25 14:43:49 -0800 | [diff] [blame] | 88 | <style name="Theme.ProvisioningActivity" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 89 | <item name="android:windowAnimationStyle">@null</item> |
| 90 | <item name="android:windowIsTranslucent">true</item> |
| 91 | <item name="android:windowBackground">@android:color/transparent</item> |
| 92 | <item name="android:windowContentOverlay">@null</item> |
| 93 | <item name="android:windowNoTitle">true</item> |
| 94 | <item name="android:windowIsFloating">true</item> |
| 95 | <item name="android:backgroundDimEnabled">false</item> |
| 96 | </style> |
| 97 | |
Arc Wang | 4a2acd2 | 2021-05-19 16:57:21 +0800 | [diff] [blame] | 98 | <style name="Theme.LocalePickerWithRegionActivity" parent="Theme.Settings"> |
| 99 | <item name="android:textColorHint">?android:attr/textColorSecondary</item> |
| 100 | </style> |
| 101 | |
Salvador Martinez | a2e7357 | 2019-05-30 14:16:52 -0700 | [diff] [blame] | 102 | <style name="ThemeOverlay.SwitchBar.Settings.Base" parent="@*android:style/ThemeOverlay.DeviceDefault.ActionBar"> |
Fan Zhang | b4b7725 | 2019-05-14 17:25:02 +0000 | [diff] [blame] | 103 | <item name="android:elevation">1dp</item> |
Jason Monk | 99e607d | 2016-04-12 12:35:01 -0400 | [diff] [blame] | 104 | <item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item> |
| 105 | <item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item> |
Fan Zhang | dd2efc0 | 2019-04-15 14:13:16 -0700 | [diff] [blame] | 106 | <item name="switchBarBackgroundColor">@color/switchbar_background_color</item> |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 107 | <item name="switchBarBackgroundActivatedColor">?android:attr/colorAccent</item> |
Philip P. Moltmann | a5918a6 | 2018-08-30 11:07:33 -0700 | [diff] [blame] | 108 | <item name="switchBarRestrictionIcon">@*android:drawable/ic_info</item> |
Fabrice Di Meglio | 1b18665 | 2014-07-15 16:02:09 -0700 | [diff] [blame] | 109 | </style> |
| 110 | |
Salvador Martinez | a2e7357 | 2019-05-30 14:16:52 -0700 | [diff] [blame] | 111 | <style name="ThemeOverlay.SwitchBar.Settings" parent="ThemeOverlay.SwitchBar.Settings.Base"/> |
| 112 | |
Fan Zhang | 46b5474 | 2018-01-10 12:22:36 -0800 | [diff] [blame] | 113 | <style name="Widget.SwitchBar.Switch" parent="@android:style/Widget.Material.CompoundButton.Switch"> |
| 114 | <item name="android:trackTint">@color/switchbar_switch_track_tint</item> |
| 115 | <item name="android:thumbTint">@color/switchbar_switch_thumb_tint</item> |
Fan Zhang | 36e61e1 | 2018-05-17 14:05:53 -0700 | [diff] [blame] | 116 | <item name="android:minHeight">@dimen/min_tap_target_size</item> |
Fan Zhang | ce12670 | 2019-03-28 13:40:35 -0700 | [diff] [blame] | 117 | <item name="android:minWidth">@dimen/min_tap_target_size</item> |
Fabrice Di Meglio | da8baba | 2014-06-10 17:12:51 -0700 | [diff] [blame] | 118 | </style> |
| 119 | |
Paul Lawrence | 89c7570 | 2014-07-11 07:34:44 -0700 | [diff] [blame] | 120 | <style name="Theme.CryptKeeper" parent="@android:style/Theme.Material.NoActionBar"> |
Paul Lawrence | aa05738 | 2014-07-16 10:21:04 -0700 | [diff] [blame] | 121 | <item name="android:windowTranslucentStatus">false</item> |
| 122 | <item name="android:windowTranslucentNavigation">false</item> |
| 123 | <item name="android:windowDrawsSystemBarBackgrounds">false</item> |
Paul Lawrence | 8e53d7f | 2015-01-16 11:43:07 -0800 | [diff] [blame] | 124 | <item name="android:background">@android:color/black</item> |
Paul Lawrence | aa05738 | 2014-07-16 10:21:04 -0700 | [diff] [blame] | 125 | |
Matt Pietal | c4aa3b4 | 2021-10-14 09:23:54 -0400 | [diff] [blame] | 126 | <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> |
Paul Lawrence | 26abe64 | 2014-06-11 15:24:37 -0700 | [diff] [blame] | 127 | </style> |
| 128 | |
Maurice Lam | ba41945 | 2015-05-08 15:01:48 -0700 | [diff] [blame] | 129 | <style name="ThemeOverlay.AlertDialog" parent="@android:style/ThemeOverlay.Material.Dialog.Alert"> |
| 130 | <item name="android:windowSoftInputMode">adjustResize</item> |
| 131 | </style> |
| 132 | |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 133 | <style name="Theme.AlertDialog.Base" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert"> |
| 134 | <item name="colorAccent">@*android:color/accent_device_default_light</item> |
Tsung-Mao Fang | 6b8a5d1 | 2021-05-31 20:00:20 +0800 | [diff] [blame] | 135 | <item name="android:colorError">@color/settings_dialog_colorError</item> |
Tsung-Mao Fang | 1e8a907 | 2021-06-17 17:39:41 +0800 | [diff] [blame] | 136 | <item name="android:colorBackground">@*android:color/surface_light</item> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 137 | </style> |
| 138 | |
| 139 | <style name="Theme.AlertDialog" parent="Theme.AlertDialog.Base"> |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 140 | <item name="android:windowSoftInputMode">adjustResize</item> |
Mill Chen | fb72f38 | 2019-05-28 17:27:03 +0800 | [diff] [blame] | 141 | <item name="android:clipToPadding">true</item> |
| 142 | <item name="android:clipChildren">true</item> |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 143 | |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 144 | <!-- Redefine the ActionBar style for contentInsetStart --> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 145 | <item name="android:actionBarStyle">@style/Widget.ActionBar</item> |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 146 | |
Raff Tsai | 953e390 | 2019-03-05 12:07:50 +0800 | [diff] [blame] | 147 | <!-- copied from Theme.DeviceDefault.Dialog.Alert --> |
Raff Tsai | 0810afe | 2018-07-17 09:59:58 +0800 | [diff] [blame] | 148 | <item name="dialogCornerRadius">@*android:dimen/config_dialogCornerRadius</item> |
Raff Tsai | 953e390 | 2019-03-05 12:07:50 +0800 | [diff] [blame] | 149 | <item name="android:windowTitleStyle">@*android:style/DialogWindowTitle.DeviceDefault</item> |
| 150 | <item name="android:textAppearanceMedium">@style/TextAppearance.DialogMessage</item> |
| 151 | <item name="buttonBarButtonStyle">@*android:style/Widget.DeviceDefault.Button.ButtonBar.AlertDialog</item> |
Fabrice Di Meglio | 31335ea | 2014-06-03 16:22:01 -0700 | [diff] [blame] | 152 | </style> |
| 153 | |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 154 | <style name="Theme.ConfirmDeviceCredentials" parent="Theme.SubSettings"> |
Jaewoong Jung | 97e8c99 | 2016-09-27 17:44:24 -0700 | [diff] [blame] | 155 | <item name="confirmDeviceCredentialsSideMargin">@dimen/confirm_credentials_side_margin</item> |
| 156 | <item name="confirmDeviceCredentialsTopMargin">@dimen/confirm_credentials_top_margin</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 157 | </style> |
| 158 | |
Andrew Sapperstein | 5b66e14 | 2016-06-11 12:12:44 -0700 | [diff] [blame] | 159 | <style name="Theme.ConfirmDeviceCredentialsDark" parent="@android:style/Theme.DeviceDefault"> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 160 | <item name="android:windowActionBar">false</item> |
| 161 | <item name="android:windowNoTitle">true</item> |
Andrew Sapperstein | 0067760 | 2016-05-23 16:38:28 -0700 | [diff] [blame] | 162 | <item name="android:windowBackground">?android:attr/colorPrimary</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 163 | |
| 164 | <item name="confirmDeviceCredentialsSideMargin">32dp</item> |
| 165 | <item name="confirmDeviceCredentialsTopMargin">32dp</item> |
| 166 | |
Matt Pietal | c4aa3b4 | 2021-10-14 09:23:54 -0400 | [diff] [blame] | 167 | <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> |
Jorim Jaggi | ff41a9a | 2015-06-09 15:31:28 -0700 | [diff] [blame] | 168 | |
| 169 | <item name="android:windowAnimationStyle">@style/ConfirmDeviceCredentialsAnimationStyle</item> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 170 | </style> |
Jason Monk | 6fca98f | 2017-02-01 20:20:44 -0500 | [diff] [blame] | 171 | |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 172 | <style name="Theme.ConfirmDeviceCredentialsWork" parent="Theme.ConfirmDeviceCredentialsDark"> |
Matt Pietal | c4aa3b4 | 2021-10-14 09:23:54 -0400 | [diff] [blame] | 173 | <item name="*android:lockPatternStyle">@style/LockPatternStyle</item> |
Mahaver Chopra | c63ef94 | 2016-03-16 17:21:45 +0000 | [diff] [blame] | 174 | <item name="android:colorAccent">@*android:color/white</item> |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 175 | </style> |
Jorim Jaggi | 5ad75f0 | 2015-04-22 16:17:23 -0700 | [diff] [blame] | 176 | |
Jorim Jaggi | 9840794 | 2016-08-02 11:53:12 +0200 | [diff] [blame] | 177 | <style name="FallbackHome" parent="@android:style/Theme.DeviceDefault.NoActionBar"> |
Jeff Sharkey | c80dc5e | 2016-05-03 17:25:37 -0600 | [diff] [blame] | 178 | <item name="android:windowBackground">@android:color/transparent</item> |
| 179 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 180 | <item name="android:windowShowWallpaper">true</item> |
| 181 | <item name="android:windowNoTitle">true</item> |
| 182 | <item name="android:windowTranslucentStatus">false</item> |
| 183 | <item name="android:windowTranslucentNavigation">false</item> |
| 184 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 185 | <item name="android:statusBarColor">#00000000</item> |
| 186 | <item name="android:navigationBarColor">#00000000</item> |
Jeff Sharkey | e555a6f | 2016-02-23 20:48:01 -0700 | [diff] [blame] | 187 | </style> |
| 188 | |
Jorim Jaggi | a616a0d | 2016-06-29 16:33:39 -0700 | [diff] [blame] | 189 | <style name="FallbackHome.SetupWizard" parent="@android:style/Theme.Material.NoActionBar.Fullscreen"> |
| 190 | <item name="android:windowBackground">@drawable/fallback_home_unprovisioned_background</item> |
| 191 | <item name="android:colorBackgroundCacheHint">@null</item> |
| 192 | <item name="android:windowNoTitle">true</item> |
| 193 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 194 | <item name="android:statusBarColor">#00000000</item> |
| 195 | <item name="android:navigationBarColor">#00000000</item> |
| 196 | </style> |
| 197 | |
tmfang | fe50f43 | 2018-08-09 12:48:58 +0800 | [diff] [blame] | 198 | <style name="Theme.BluetoothPermission" parent="@style/Theme.AlertDialog"> |
Svetoslav Ganov | b06766f | 2016-07-22 20:08:41 -0700 | [diff] [blame] | 199 | <item name="android:windowNoTitle">true</item> |
| 200 | </style> |
| 201 | |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 202 | <style name="Theme.Settings.HomeBase" parent="Theme.Settings.NoActionBar"> |
Raff Tsai | 082f8ee | 2018-06-29 06:11:39 +0000 | [diff] [blame] | 203 | <item name="colorPrimary">@*android:color/primary_device_default_settings_light</item> |
tmfang | 9d4a806 | 2018-07-26 17:32:49 +0800 | [diff] [blame] | 204 | <item name="colorAccent">@*android:color/accent_device_default_light</item> |
Edgar Wang | 817a167 | 2021-04-14 09:54:04 +0800 | [diff] [blame] | 205 | <item name="preferenceTheme">@style/SettingsPreferenceTheme</item> |
Fan Zhang | 3181e1a | 2018-10-10 15:25:47 -0700 | [diff] [blame] | 206 | |
| 207 | <!-- action bar, needed for search bar icon tinting --> |
Doris Ling | c00b1a2 | 2018-12-18 17:07:31 -0800 | [diff] [blame] | 208 | <item name="android:actionBarTheme">@*android:style/ThemeOverlay.DeviceDefault.ActionBar</item> |
Raff Tsai | b92e9d4 | 2018-11-13 04:02:07 +0800 | [diff] [blame] | 209 | |
Sunny Shao | da01c0f | 2018-12-03 19:12:31 +0800 | [diff] [blame] | 210 | <!-- Define this color for material design --> |
| 211 | <item name="colorPrimaryVariant">@android:color/white</item> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 212 | </style> |
| 213 | |
| 214 | <style name="Theme.Settings.Home" parent="Theme.Settings.HomeBase"> |
| 215 | <item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item> |
Raff Tsai | 11b17a7 | 2018-08-13 13:37:42 +0800 | [diff] [blame] | 216 | <item name="android:windowLightStatusBar">true</item> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 217 | <item name="android:navigationBarDividerColor">@*android:color/ripple_material_light</item> |
Tsung-Mao Fang | df00a3b | 2021-06-23 17:53:59 +0800 | [diff] [blame] | 218 | <!-- Homepage should follow device default design, the values is same as device default theme.--> |
| 219 | <item name="android:navigationBarColor">@android:color/white</item> |
| 220 | <item name="android:statusBarColor">?attr/colorPrimaryDark</item> |
tmfang | 9d4a806 | 2018-07-26 17:32:49 +0800 | [diff] [blame] | 221 | </style> |
| 222 | |
Jason Chiu | 4b6a1a5 | 2020-02-11 16:36:35 +0800 | [diff] [blame] | 223 | <style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home"> |
| 224 | <item name="android:textAppearanceListItem">@style/TextAppearance.HomepageCardTitle</item> |
| 225 | </style> |
| 226 | |
Matthew Fritze | 125a366 | 2018-12-13 16:56:21 -0800 | [diff] [blame] | 227 | <!-- Note that Dialog themes do not set list dividers --> |
lindatseng | e972b16 | 2019-04-19 15:40:20 -0700 | [diff] [blame] | 228 | <style name="Theme.Panel" parent="@*android:style/Theme.DeviceDefault.Settings.Dialog"> |
Matthew Fritze | b6fdd25 | 2019-03-08 08:15:00 -0800 | [diff] [blame] | 229 | <item name="android:windowBackground">@null</item> |
Matthew Fritze | c14316c | 2018-11-28 13:05:43 -0800 | [diff] [blame] | 230 | <item name="android:dividerHorizontal">@*android:drawable/list_divider_material</item> |
| 231 | <item name="android:windowNoTitle">true</item> |
Matthew Fritze | 125a366 | 2018-12-13 16:56:21 -0800 | [diff] [blame] | 232 | <item name="android:listDivider">@*android:drawable/list_divider_material</item> |
Matthew Fritze | c14316c | 2018-11-28 13:05:43 -0800 | [diff] [blame] | 233 | <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> |
Matt Fritze | 90899e0 | 2018-10-16 12:41:42 -0700 | [diff] [blame] | 234 | </style> |
| 235 | |
pastychang | ec0a30a | 2019-04-22 16:17:46 +0800 | [diff] [blame] | 236 | <!-- This light theme for a window that can be applied to show light theme in setupwizard flow, |
| 237 | regardless of whether system theme changed to dark or light theme. WARNING: your settings |
| 238 | activity shows in setupwizard flow, but doesn't use setupwizard theme. This theme must be |
| 239 | set to ensure settings activity always shows light theme in setupwizard flow. --> |
| 240 | <style name="LightTheme.SettingsBase.SetupWizard" parent="@android:style/Theme.DeviceDefault"> |
| 241 | <item name="android:windowLightStatusBar">true</item> |
| 242 | <item name="android:navigationBarColor">@android:color/white</item> |
| 243 | <item name="android:windowLightNavigationBar">true</item> |
| 244 | <item name="android:navigationBarDividerColor">@*android:color/navigation_bar_divider_device_default_settings</item> |
| 245 | |
| 246 | <item name="android:colorPrimary">@*android:color/primary_device_default_settings_light</item> |
| 247 | <item name="android:colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item> |
| 248 | <item name="android:colorBackground">@*android:color/background_device_default_light</item> |
| 249 | <item name="android:colorAccent">@*android:color/accent_device_default_light</item> |
| 250 | |
| 251 | <item name="android:listDivider">@*android:color/list_divider_color_light</item> |
| 252 | |
| 253 | <item name="android:textColorPrimary">@*android:color/primary_text_light</item> |
| 254 | <item name="android:textColorSecondary">@*android:color/secondary_text_light</item> |
| 255 | </style> |
| 256 | |
Raff Tsai | 41435ad | 2020-01-13 03:07:00 +0800 | [diff] [blame] | 257 | <!-- Material theme for the pages containing TabLayout and ViewPager --> |
| 258 | <style name="Theme.TabTheme" parent="@style/Theme.MaterialComponents.DayNight"> |
| 259 | <item name="colorPrimary">@*android:color/edge_effect_device_default_light</item> |
| 260 | </style> |
Mill Chen | 14cfd2f | 2021-01-06 07:46:46 +0800 | [diff] [blame] | 261 | |
Mill Chen | 23d3ecc | 2021-03-23 23:09:47 +0800 | [diff] [blame] | 262 | <style name="Theme.CollapsingToolbar.Settings" parent="@style/Theme.MaterialComponents.DayNight"> |
| 263 | <item name="elevationOverlayEnabled">true</item> |
| 264 | <item name="elevationOverlayColor">?attr/colorPrimary</item> |
Mill Chen | 14cfd2f | 2021-01-06 07:46:46 +0800 | [diff] [blame] | 265 | <item name="colorPrimary">@*android:color/primary_device_default_settings_light</item> |
| 266 | <item name="colorAccent">@*android:color/accent_device_default_light</item> |
| 267 | </style> |
Amith Yamasani | 25b69eb | 2011-01-07 15:31:35 -0800 | [diff] [blame] | 268 | </resources> |