blob: 3bf36ba932361982518b4df0132342bdf98d18ed [file] [log] [blame]
Amith Yamasani25b69eb2011-01-07 15:31:35 -08001<?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 Brennerac57f3e2013-08-28 09:44:30 -070018
Fan Zhanga122be12018-07-16 16:28:37 -070019 <style name="Transparent">
tmfang5bd71512018-07-17 13:53:04 +080020 <item name="alertDialogTheme">@style/Theme.AlertDialog</item>
Maurice Lamdd3e2432015-11-05 18:51:05 -080021 <item name="android:windowBackground">@android:color/transparent</item>
22 <item name="android:windowNoTitle">true</item>
23 <item name="android:windowIsFloating">true</item>
Maurice Lamdd3e2432015-11-05 18:51:05 -080024 </style>
25
Fan Zhanga7689b42017-01-13 11:13:54 -080026 <style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" />
Alan Viverette1eb52832014-06-03 11:15:54 -070027
28 <style name="Theme.Settings" parent="Theme.SettingsBase">
Jason Monk52a302e2015-10-28 14:34:53 -040029 <item name="preferenceTheme">@style/PreferenceTheme</item>
Fan Zhang1c118b52016-12-09 13:04:24 -080030 <item name="android:listPreferredItemHeight">72dip</item>
Fabrice Di Meglio5c3fd1c2014-07-02 18:16:35 -070031
Maurice Lam8d1f9c92015-07-09 16:38:37 -070032 <item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
Kevin Chyn4882e872018-06-25 17:58:31 -070033 <item name="face_layout_theme">@style/FaceLayoutTheme</item>
Russell Brennerac57f3e2013-08-28 09:44:30 -070034 <item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item>
Maurice Lamb50dfb72015-04-20 18:18:54 -070035 <item name="wifi_signal">@drawable/wifi_signal</item>
Jason Monk2d499532015-06-03 10:53:03 -040036 <item name="wifi_signal_color">?android:attr/colorAccent</item>
Stephen Chen20bfe522017-01-18 15:32:02 -080037 <item name="wifi_friction">@drawable/wifi_friction</item>
Maurice Lamecd2b7b2014-12-01 10:41:49 -080038 <item name="side_margin">@dimen/settings_side_margin</item>
Udam Saini01c581b2016-03-09 17:25:39 -080039 <item name="suwListItemIconColor">?android:attr/colorAccent</item>
Alan Viveretteab585d82014-04-15 17:42:33 -070040
Fabrice Di Meglio9c3f11f2014-07-23 13:31:26 -070041 <!-- Redefine the ActionBar style for contentInsetStart -->
42 <item name="android:actionBarStyle">@style/Theme.ActionBar</item>
Fabrice Di Meglio676e9c12014-06-24 15:29:08 -070043
Alan Viverettefd05a782015-03-27 10:23:45 -070044 <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item>
Fabrice Di Meglio1b186652014-07-15 16:02:09 -070045
Fabrice Di Megliod40dd452014-07-18 15:20:34 -070046 <item name="preferenceBackgroundColor">@drawable/preference_background</item>
Fabrice Di Meglioda8baba2014-06-10 17:12:51 -070047
tmfang5bd71512018-07-17 13:53:04 +080048 <!-- For AndroidX AlertDialog -->
Raff Tsai0810afe2018-07-17 09:59:58 +080049 <item name="alertDialogTheme">@style/Theme.AlertDialog</item>
Selim Cinek59db2942014-06-05 07:19:21 +020050
Jason Monk6fca98f2017-02-01 20:20:44 -050051 <item name="*android:lockPatternStyle">@style/LockPatternStyle.Setup</item>
Jyun LuoLaidbcc3d42018-03-28 17:45:44 +080052
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 Meglio63386952014-05-28 20:08:55 -070057 </style>
58
Fan Zhanga122be12018-07-16 16:28:37 -070059 <!-- 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 Meglio1b186652014-07-15 16:02:09 -070065 <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 Zhang46b54742018-01-10 12:22:36 -080069 <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item>
Fabrice Di Meglio1b186652014-07-15 16:02:09 -070070 </style>
71
Jeremy Kleine3e7b952016-01-25 14:43:49 -080072 <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 Zhanga7689b42017-01-13 11:13:54 -080082 <style name="ThemeOverlay.SwitchBar.Settings" parent="@android:style/ThemeOverlay.Material.ActionBar">
Fan Zhang46b54742018-01-10 12:22:36 -080083 <item name="android:textColorPrimary">@android:color/white</item>
Jason Monk99e607d2016-04-12 12:35:01 -040084 <item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item>
85 <item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item>
Fan Zhang46b54742018-01-10 12:22:36 -080086 <item name="switchBarBackgroundColor">@color/switch_bar_background</item>
87 <item name="switchBarBackgroundActivatedColor">?android:attr/colorAccent</item>
Fabrice Di Meglio1b186652014-07-15 16:02:09 -070088 </style>
89
Fan Zhang46b54742018-01-10 12:22:36 -080090 <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 Zhang36e61e12018-05-17 14:05:53 -070093 <item name="android:minHeight">@dimen/min_tap_target_size</item>
Fabrice Di Meglioda8baba2014-06-10 17:12:51 -070094 </style>
95
Paul Lawrence89c75702014-07-11 07:34:44 -070096 <style name="Theme.CryptKeeper" parent="@android:style/Theme.Material.NoActionBar">
Paul Lawrenceaa057382014-07-16 10:21:04 -070097 <item name="android:windowTranslucentStatus">false</item>
98 <item name="android:windowTranslucentNavigation">false</item>
99 <item name="android:windowDrawsSystemBarBackgrounds">false</item>
Paul Lawrence8e53d7f2015-01-16 11:43:07 -0800100 <item name="android:background">@android:color/black</item>
Paul Lawrenceaa057382014-07-16 10:21:04 -0700101
Jason Monk6fca98f2017-02-01 20:20:44 -0500102 <item name="*android:lockPatternStyle">@style/LockPatternStyle.Unlock</item>
Paul Lawrence26abe642014-06-11 15:24:37 -0700103 </style>
104
Maurice Lamba419452015-05-08 15:01:48 -0700105 <style name="ThemeOverlay.AlertDialog" parent="@android:style/ThemeOverlay.Material.Dialog.Alert">
106 <item name="android:windowSoftInputMode">adjustResize</item>
107 </style>
108
Raff Tsai0810afe2018-07-17 09:59:58 +0800109 <style name="Theme.AlertDialog" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert">
Fabrice Di Meglio31335ea2014-06-03 16:22:01 -0700110 <item name="android:windowSoftInputMode">adjustResize</item>
111
Fabrice Di Meglio31335ea2014-06-03 16:22:01 -0700112 <!-- Redefine the ActionBar style for contentInsetStart -->
113 <item name="android:actionBarStyle">@style/Theme.ActionBar</item>
Raff Tsai0810afe2018-07-17 09:59:58 +0800114
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 Meglio31335ea2014-06-03 16:22:01 -0700118 </style>
119
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700120 <style name="Theme.ConfirmDeviceCredentials" parent="Theme.SubSettings">
Jaewoong Jung97e8c992016-09-27 17:44:24 -0700121 <item name="confirmDeviceCredentialsSideMargin">@dimen/confirm_credentials_side_margin</item>
122 <item name="confirmDeviceCredentialsTopMargin">@dimen/confirm_credentials_top_margin</item>
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700123 </style>
124
Andrew Sapperstein5b66e142016-06-11 12:12:44 -0700125 <style name="Theme.ConfirmDeviceCredentialsDark" parent="@android:style/Theme.DeviceDefault">
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700126 <item name="android:windowActionBar">false</item>
127 <item name="android:windowNoTitle">true</item>
Andrew Sapperstein00677602016-05-23 16:38:28 -0700128 <item name="android:windowBackground">?android:attr/colorPrimary</item>
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700129
130 <item name="confirmDeviceCredentialsSideMargin">32dp</item>
131 <item name="confirmDeviceCredentialsTopMargin">32dp</item>
132
Jason Monk6fca98f2017-02-01 20:20:44 -0500133 <item name="*android:lockPatternStyle">@style/LockPatternStyle.Dark</item>
Jorim Jaggiff41a9a2015-06-09 15:31:28 -0700134
135 <item name="android:windowAnimationStyle">@style/ConfirmDeviceCredentialsAnimationStyle</item>
Jorim Jaggi8a09b612015-04-06 17:47:18 -0700136 </style>
Jason Monk6fca98f2017-02-01 20:20:44 -0500137
Benjamin Franz194300d2016-01-13 12:16:25 +0000138 <style name="Theme.ConfirmDeviceCredentialsWork" parent="Theme.ConfirmDeviceCredentialsDark">
Jason Monk6fca98f2017-02-01 20:20:44 -0500139 <item name="*android:lockPatternStyle">@style/LockPatternStyle.Dark.Work</item>
Mahaver Choprac63ef942016-03-16 17:21:45 +0000140 <item name="android:colorAccent">@*android:color/white</item>
Benjamin Franz194300d2016-01-13 12:16:25 +0000141 </style>
Jorim Jaggi5ad75f02015-04-22 16:17:23 -0700142
Jorim Jaggi98407942016-08-02 11:53:12 +0200143 <style name="FallbackHome" parent="@android:style/Theme.DeviceDefault.NoActionBar">
Jeff Sharkeyc80dc5e2016-05-03 17:25:37 -0600144 <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 Sharkeye555a6f2016-02-23 20:48:01 -0700153 </style>
154
Jorim Jaggia616a0d2016-06-29 16:33:39 -0700155 <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 Zhanga122be12018-07-16 16:28:37 -0700164 <style name="Theme.BluetoothPermission" parent="@android:style/Theme.Material.Light.Dialog.Alert">
Svetoslav Ganovb06766f2016-07-22 20:08:41 -0700165 <item name="android:windowNoTitle">true</item>
166 </style>
167
Raff Tsai082f8ee2018-06-29 06:11:39 +0000168 <style name="Theme.Settings.Home" parent="Theme.AppCompat.Light.NoActionBar">
Fan Zhanga122be12018-07-16 16:28:37 -0700169 <!-- Color names copied from frameworks/base/core/res/res/values/themes_device_defaults.xml -->
Raff Tsai082f8ee2018-06-29 06:11:39 +0000170 <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 Tsai00d42c52018-07-12 17:32:46 +0800172 <item name="android:colorAccent">@*android:color/accent_device_default_light</item>
Mill Chendff64a02018-07-20 15:13:45 +0800173 <item name="android:windowLightStatusBar">true</item>
Raff Tsai082f8ee2018-06-29 06:11:39 +0000174 </style>
175
Amith Yamasani25b69eb2011-01-07 15:31:35 -0800176</resources>