blob: bba410285251ac6947529ecab736cbfdf8f3b200 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4* Copyright (C) 2008 The Android Open Source Project
5*
6* Licensed under the Apache License, Version 2.0 (the "License");
7* you may not use this file except in compliance with the License.
8* You may obtain a copy of the License at
9*
10* http://www.apache.org/licenses/LICENSE-2.0
11*
12* Unless required by applicable law or agreed to in writing, software
13* distributed under the License is distributed on an "AS IS" BASIS,
14* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15* See the License for the specific language governing permissions and
16* limitations under the License.
17*/
18-->
19
20<resources>
Sunny Goyal5abb9f82016-02-09 15:22:42 -080021 <!-- Launcher theme -->
Sunny Goyalad9fb522019-05-15 14:24:27 -070022 <style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light">
Sunny Goyaladb364a2022-12-09 12:37:25 -080023 <item name="disabledIconAlpha">.54</item>
Sunny Goyal5abb9f82016-02-09 15:22:42 -080024 <item name="android:colorBackgroundCacheHint">@null</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -080025 <item name="android:colorEdgeEffect">#FF757575</item>
Hyunyoung Song572c7462019-04-13 02:40:31 -070026 <item name="android:windowActionBar">false</item>
27 <item name="android:windowBackground">@android:color/transparent</item>
28 <item name="android:windowNoTitle">true</item>
29 <item name="android:windowShowWallpaper">true</item>
Sunny Goyal325b5c72017-06-11 20:22:08 -070030 </style>
31
Sunny Goyal367f2192018-10-17 11:24:48 -070032 <style name="LauncherTheme" parent="@style/BaseLauncherTheme">
Samuel Fufa99156052020-04-21 13:19:43 -070033 <item name="android:textColorSecondary">#DE000000</item>
Marcelo Arteiroecff4b52023-05-09 13:48:38 +000034 <item name="allAppsScrimColor">?attr/materialColorSurfaceDim</item>
Brandon Dayauon4e3be7a2023-08-17 14:55:47 -070035 <item name="allappsHeaderProtectionColor">
36 @color/material_color_surface_container_highest</item>
Sunny Goyal81a70e52017-08-18 01:02:20 -070037 <item name="allAppsNavBarScrimColor">#66FFFFFF</item>
Michael Bestasd3a22c02022-01-19 23:24:39 +020038 <item name="allAppsSearchTextColor">@color/widget_picker_search_text_color_light</item>
Lucas Dupin993fed22021-02-04 15:40:45 -080039 <item name="popupColorPrimary">@color/popup_color_primary_light</item>
40 <item name="popupColorSecondary">@color/popup_color_secondary_light</item>
41 <item name="popupColorTertiary">@color/popup_color_tertiary_light</item>
fbaron1a76d5c2023-05-10 16:29:17 -070042 <item name="popupColorBackground">#EFEDED</item>
43 <item name="popupTextColor">@color/popup_text_color_light</item>
Jon Miranda6a936e32021-06-24 10:58:56 -070044 <item name="popupShadeFirst">@color/popup_shade_first_light</item>
45 <item name="popupShadeSecond">@color/popup_shade_second_light</item>
46 <item name="popupShadeThird">@color/popup_shade_third_light</item>
Jon Miranda313b2c22021-06-17 12:35:43 -070047 <item name="popupNotificationDotColor">@color/popup_notification_dot_light</item>
fbaron1406a0f2023-05-11 08:46:46 -070048 <item name="notificationDotColor">@color/notification_dot_color_light</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070049 <item name="isMainColorDark">false</item>
50 <item name="isWorkspaceDarkText">false</item>
Lucas Dupin993fed22021-02-04 15:40:45 -080051 <item name="workspaceTextColor">@color/workspace_text_color_light</item>
James O'Learydac75ae2022-05-31 21:12:38 +000052 <item name="workspaceShadowColor">#B0000000</item>
53 <item name="workspaceAmbientShadowColor">#40000000</item>
54 <item name="workspaceKeyShadowColor">#89000000</item>
Tony Wickham093c3ac2017-06-26 10:48:41 -070055 <item name="widgetsTheme">@style/WidgetContainerTheme</item>
Sunny Goyal5cd1b192023-04-06 22:33:11 +000056 <item name="folderPaginationColor">@color/folder_pagination_color_light</item>
Jon Mirandab77878e2021-10-06 16:57:33 -070057 <item name="folderPreviewColor">@color/folder_preview_light</item>
58 <item name="folderBackgroundColor">@color/folder_background_light</item>
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080059 <item name="folderIconBorderColor">?android:attr/colorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -070060 <item name="isFolderDarkText">true</item>
fbaron8463f6a2023-05-12 13:41:07 -070061 <item name="folderTextColor">@color/folder_text_color_light</item>
62 <item name="folderHintTextColor">@color/folder_hint_text_color_light</item>
Sunny Goyal577bc6b2019-04-04 14:50:29 -070063 <item name="loadingIconColor">#CCFFFFFF</item>
Samuel Fufa07919c62020-04-14 17:37:44 -070064 <item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item>
Samuel Fufa1012fd22020-05-07 15:18:05 -070065 <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item>
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +010066 <item name="workspaceAccentColor">@color/workspace_accent_color_light</item>
fbarone8efdc42023-05-16 16:57:19 -070067 <item name="workspaceSurfaceColor">@color/workspace_surface_color</item>
68 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_light</item>
69 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_light</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -070070 <item name="overviewScrimColor">@color/overview_scrim</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -070071 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_light</item>
72 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_light</item>
Sunny Goyal367f2192018-10-17 11:24:48 -070073 <item name="android:windowTranslucentStatus">false</item>
74 <item name="android:windowTranslucentNavigation">false</item>
75 <item name="android:windowDrawsSystemBarBackgrounds">true</item>
76 <item name="android:statusBarColor">#00000000</item>
77 <item name="android:navigationBarColor">#00000000</item>
Jagrut Desaic6d625b2023-04-03 16:57:32 -070078 <item name="android:switchStyle">@style/SwitchStyle</item>
Marcelo Arteiroecff4b52023-05-09 13:48:38 +000079
80 <item name="materialColorOnSecondaryFixedVariant">@color/material_color_on_secondary_fixed_variant</item>
81 <item name="materialColorOnTertiaryFixedVariant">@color/material_color_on_tertiary_fixed_variant</item>
82 <item name="materialColorSurfaceContainerLowest">@color/material_color_surface_container_lowest</item>
83 <item name="materialColorOnPrimaryFixedVariant">@color/material_color_on_primary_fixed_variant</item>
84 <item name="materialColorOnSecondaryContainer">@color/material_color_on_secondary_container</item>
85 <item name="materialColorOnTertiaryContainer">@color/material_color_on_tertiary_container</item>
86 <item name="materialColorSurfaceContainerLow">@color/material_color_surface_container_low</item>
87 <item name="materialColorOnPrimaryContainer">@color/material_color_on_primary_container</item>
88 <item name="materialColorSecondaryFixedDim">@color/material_color_secondary_fixed_dim</item>
89 <item name="materialColorOnErrorContainer">@color/material_color_on_error_container</item>
90 <item name="materialColorOnSecondaryFixed">@color/material_color_on_secondary_fixed</item>
91 <item name="materialColorOnSurfaceInverse">@color/material_color_on_surface_inverse</item>
92 <item name="materialColorTertiaryFixedDim">@color/material_color_tertiary_fixed_dim</item>
93 <item name="materialColorOnTertiaryFixed">@color/material_color_on_tertiary_fixed</item>
94 <item name="materialColorPrimaryFixedDim">@color/material_color_primary_fixed_dim</item>
95 <item name="materialColorSecondaryContainer">@color/material_color_secondary_container</item>
96 <item name="materialColorErrorContainer">@color/material_color_error_container</item>
97 <item name="materialColorOnPrimaryFixed">@color/material_color_on_primary_fixed</item>
98 <item name="materialColorPrimaryInverse">@color/material_color_primary_inverse</item>
99 <item name="materialColorSecondaryFixed">@color/material_color_secondary_fixed</item>
100 <item name="materialColorSurfaceInverse">@color/material_color_surface_inverse</item>
101 <item name="materialColorSurfaceVariant">@color/material_color_surface_variant</item>
102 <item name="materialColorTertiaryContainer">@color/material_color_tertiary_container</item>
103 <item name="materialColorTertiaryFixed">@color/material_color_tertiary_fixed</item>
104 <item name="materialColorPrimaryContainer">@color/material_color_primary_container</item>
105 <item name="materialColorOnBackground">@color/material_color_on_background</item>
106 <item name="materialColorPrimaryFixed">@color/material_color_primary_fixed</item>
107 <item name="materialColorOnSecondary">@color/material_color_on_secondary</item>
108 <item name="materialColorOnTertiary">@color/material_color_on_tertiary</item>
109 <item name="materialColorSurfaceDim">@color/material_color_surface_dim</item>
110 <item name="materialColorSurfaceBright">@color/material_color_surface_bright</item>
111 <item name="materialColorOnError">@color/material_color_on_error</item>
112 <item name="materialColorSurface">@color/material_color_surface</item>
113 <item name="materialColorSurfaceContainerHigh">@color/material_color_surface_container_high</item>
114 <item name="materialColorSurfaceContainerHighest">@color/material_color_surface_container_highest</item>
115 <item name="materialColorOnSurfaceVariant">@color/material_color_on_surface_variant</item>
116 <item name="materialColorOutline">@color/material_color_outline</item>
117 <item name="materialColorOutlineVariant">@color/material_color_outline_variant</item>
118 <item name="materialColorOnPrimary">@color/material_color_on_primary</item>
119 <item name="materialColorOnSurface">@color/material_color_on_surface</item>
120 <item name="materialColorSurfaceContainer">@color/material_color_surface_container</item>
121 <item name="materialColorPrimary">@color/material_color_primary</item>
122 <item name="materialColorSecondary">@color/material_color_secondary</item>
123 <item name="materialColorTertiary">@color/material_color_tertiary</item>
Jagrut Desaic6d625b2023-04-03 16:57:32 -0700124 </style>
125
126 <style name="SwitchStyle"
127 parent="@android:style/Widget.Material.CompoundButton.Switch">
128 <item name="android:switchMinWidth">52dp</item>
129 <item name="android:thumb">@drawable/home_settings_switch_thumb</item>
130 <item name="android:track">@drawable/home_settings_switch_track</item>
Sunny Goyal367f2192018-10-17 11:24:48 -0700131 </style>
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800132
Sunny Goyaladb364a2022-12-09 12:37:25 -0800133 <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700134
Sunny Goyala6afdff2018-05-24 13:49:57 -0700135 <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -0800136 <item name="workspaceTextColor">@color/workspace_text_color_dark</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000137 <item name="workspaceShadowColor">@android:color/transparent</item>
138 <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
139 <item name="workspaceKeyShadowColor">@android:color/transparent</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700140 <item name="isWorkspaceDarkText">true</item>
Yogisha Dixit20467302021-07-16 15:04:33 +0100141 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
fbarone8efdc42023-05-16 16:57:19 -0700142 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item>
143 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700144 </style>
145
Sunny Goyalbd88f392018-06-07 15:42:57 -0700146 <style name="LauncherTheme.Dark" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -0800147 <item name="android:textColorPrimary">@color/text_color_primary_dark</item>
148 <item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
149 <item name="android:textColorTertiary">@color/text_color_tertiary_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700150 <item name="android:textColorHint">#A0FFFFFF</item>
Lucas Dupine4d07f92021-05-06 18:29:33 -0700151 <item name="android:colorControlHighlight">#19FFFFFF</item>
Sunny Goyal12f80382018-05-14 15:57:59 -0700152 <item name="android:colorPrimary">#FF212121</item>
Marcelo Arteiroecff4b52023-05-09 13:48:38 +0000153 <item name="allAppsScrimColor">?attr/materialColorSurfaceDim</item>
Brandon Dayauon4e3be7a2023-08-17 14:55:47 -0700154 <item name="allappsHeaderProtectionColor">@color/material_color_surface_container_low</item>
Sunny Goyal81a70e52017-08-18 01:02:20 -0700155 <item name="allAppsNavBarScrimColor">#80000000</item>
Michael Bestasd3a22c02022-01-19 23:24:39 +0200156 <item name="allAppsSearchTextColor">@color/widget_picker_search_text_color_dark</item>
Lucas Dupin993fed22021-02-04 15:40:45 -0800157 <item name="popupColorPrimary">@color/popup_color_primary_dark</item>
158 <item name="popupColorSecondary">@color/popup_color_secondary_dark</item>
159 <item name="popupColorTertiary">@color/popup_color_tertiary_dark</item>
fbaron1a76d5c2023-05-10 16:29:17 -0700160 <item name="popupColorBackground">#1F2020</item>
161 <item name="popupTextColor">@color/popup_text_color_dark</item>
Jon Miranda313b2c22021-06-17 12:35:43 -0700162 <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item>
Jon Miranda6a936e32021-06-24 10:58:56 -0700163 <item name="popupShadeFirst">@color/popup_shade_first_dark</item>
164 <item name="popupShadeSecond">@color/popup_shade_second_dark</item>
165 <item name="popupShadeThird">@color/popup_shade_third_dark</item>
fbaron1406a0f2023-05-11 08:46:46 -0700166 <item name="notificationDotColor">@color/notification_dot_color_dark</item>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700167 <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
Sunny Goyal5cd1b192023-04-06 22:33:11 +0000168 <item name="folderPaginationColor">@color/folder_pagination_color_dark</item>
Jon Mirandab77878e2021-10-06 16:57:33 -0700169 <item name="folderPreviewColor">@color/folder_preview_dark</item>
170 <item name="folderBackgroundColor">@color/folder_background_dark</item>
Lucas Dupin29cd3272021-01-26 15:06:11 -0800171 <item name="folderIconBorderColor">?android:attr/colorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -0700172 <item name="isFolderDarkText">false</item>
fbaron8463f6a2023-05-12 13:41:07 -0700173 <item name="folderTextColor">@color/folder_text_color_dark</item>
174 <item name="folderHintTextColor">@color/folder_hint_text_color_dark</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700175 <item name="isMainColorDark">true</item>
Sunny Goyal577bc6b2019-04-04 14:50:29 -0700176 <item name="loadingIconColor">#99FFFFFF</item>
Samuel Fufa07919c62020-04-14 17:37:44 -0700177 <item name="iconOnlyShortcutColor">#B3FFFFFF</item>
Samuel Fufa1012fd22020-05-07 15:18:05 -0700178 <item name="eduHalfSheetBGColor">#DD000000</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -0700179 <item name="overviewScrimColor">@color/overview_scrim_dark</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -0700180 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item>
181 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700182 </style>
183
Sunny Goyaladb364a2022-12-09 12:37:25 -0800184 <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"/>
Hyunyoung Songe751d902019-05-13 23:23:05 -0700185
Sunny Goyalbd88f392018-06-07 15:42:57 -0700186 <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark">
Lucas Dupine4d07f92021-05-06 18:29:33 -0700187 <item name="android:colorControlHighlight">#19212121</item>
Lucas Dupin993fed22021-02-04 15:40:45 -0800188 <item name="workspaceTextColor">@color/workspace_text_color_dark</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000189 <item name="workspaceShadowColor">@android:color/transparent</item>
190 <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
191 <item name="workspaceKeyShadowColor">@android:color/transparent</item>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700192 <item name="isWorkspaceDarkText">true</item>
Yogisha Dixit20467302021-07-16 15:04:33 +0100193 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
fbarone8efdc42023-05-16 16:57:19 -0700194 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item>
195 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700196 </style>
197
Sunny Goyalbd88f392018-06-07 15:42:57 -0700198 <!-- A derivative project can extend these themes to customize the application theme without
199 affecting the base theme -->
200 <style name="AppTheme" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700201 <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700202 <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700203
Sunny Goyalbd88f392018-06-07 15:42:57 -0700204 <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700205 <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700206 <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" />
207
Brian Isganitis93031bc2021-06-09 16:34:45 -0400208 <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings">
Schneider Victor-tuliase8454632021-04-07 14:07:28 -0700209 <item name="android:navigationBarColor">?android:colorPrimaryDark</item>
Brian Isganitis08fdf4d2021-05-25 18:02:22 -0400210 <item name="android:windowActionBar">false</item>
211 <item name="android:windowNoTitle">true</item>
Brian Isganitis93031bc2021-06-09 16:34:45 -0400212 <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item>
alexmang457ae092020-07-18 14:34:12 -0700213 </style>
214
Brian Isganitis93031bc2021-06-09 16:34:45 -0400215 <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
216 <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item>
alexmang457ae092020-07-18 14:34:12 -0700217 </style>
218
Brian Isganitis93031bc2021-06-09 16:34:45 -0400219 <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material">
alexmang457ae092020-07-18 14:34:12 -0700220 <item name="android:layout">@layout/home_settings</item>
Samuel Fufa9fee0452019-11-12 16:49:21 -0800221 </style>
222
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800223 <!--
224 Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper.
Sunny Goyal325b5c72017-06-11 20:22:08 -0700225 Various foreground colors are overridden to be workspaceTextColor so that they are properly
226 visible on various wallpapers.
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800227 -->
Mario Bertschlera6936942017-05-31 14:48:19 -0700228 <style name="HomeScreenElementTheme">
Sunny Goyal325b5c72017-06-11 20:22:08 -0700229 <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item>
230 <item name="android:textColorPrimary">?attr/workspaceTextColor</item>
231 <item name="android:textColorSecondary">?attr/workspaceTextColor</item>
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800232 </style>
233
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700234 <!-- Theme for the widget container. -->
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800235 <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700236 <item name="android:colorPrimaryDark">#E8EAED</item>
237 <item name="android:textColorSecondary">?android:attr/textColorPrimary</item>
238 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
fbaron328ca382023-04-13 20:17:15 -0700239 <item name="widgetPickerPrimarySurfaceColor">
240 @color/widget_picker_primary_surface_color_light</item>
241 <item name="widgetPickerSecondarySurfaceColor">
242 @color/widget_picker_secondary_surface_color_light</item>
243 <item name="widgetPickerTitleColor">@color/widget_picker_title_color_light</item>
244 <item name="widgetPickerHeaderAppTitleColor">
245 @color/widget_picker_header_app_title_color_light</item>
246 <item name="widgetPickerHeaderAppSubtitleColor">
247 @color/widget_picker_header_app_subtitle_color_light</item>
248 <item name="widgetPickerHeaderBackgroundColor">
249 @color/widget_picker_header_background_color_light</item>
250 <item name="widgetPickerSuggestionsIconBackgroundColor">
251 @color/widget_picker_suggestions_icon_background_color_light</item>
252 <item name="widgetPickerSuggestionsIconColor">
253 @color/widget_picker_suggestions_icon_color_light</item>
254 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_light</item>
255 <item name="widgetPickerTabBackgroundSelected">
256 @color/widget_picker_tab_background_selected_light</item>
257 <item name="widgetPickerTabBackgroundUnselected">
258 @color/widget_picker_tab_background_unselected_light</item>
259 <item name="widgetPickerSelectedTabTextColor">
260 @color/widget_picker_selected_tab_text_color_light</item>
261 <item name="widgetPickerUnselectedTabTextColor">
262 @color/widget_picker_unselected_tab_text_color_light</item>
263 <item name="widgetPickerCollapseHandleColor">
264 @color/widget_picker_collapse_handle_color_light</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800265 </style>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700266 <style name="WidgetContainerTheme.Dark" parent="AppTheme.Dark">
267 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
268 <item name="android:colorPrimaryDark">#616161</item> <!-- Gray 700 -->
fbaron328ca382023-04-13 20:17:15 -0700269 <item name="widgetPickerPrimarySurfaceColor">
270 @color/widget_picker_primary_surface_color_dark</item>
271 <item name="widgetPickerSecondarySurfaceColor">
272 @color/widget_picker_secondary_surface_color_dark</item>
273 <item name="widgetPickerTitleColor">
274 @color/widget_picker_title_color_dark</item>
275 <item name="widgetPickerHeaderAppTitleColor">
276 @color/widget_picker_header_app_title_color_dark</item>
277 <item name="widgetPickerHeaderAppSubtitleColor">
278 @color/widget_picker_header_app_subtitle_color_dark</item>
279 <item name="widgetPickerHeaderBackgroundColor">
280 @color/widget_picker_header_background_color_dark</item>
281 <item name="widgetPickerSuggestionsIconBackgroundColor">
282 @color/widget_picker_suggestions_icon_background_color_dark</item>
283 <item name="widgetPickerSuggestionsIconColor">
284 @color/widget_picker_suggestions_icon_color_dark</item>
285 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_dark</item>
286 <item name="widgetPickerTabBackgroundSelected">
287 @color/widget_picker_tab_background_selected_dark</item>
288 <item name="widgetPickerTabBackgroundUnselected">
289 @color/widget_picker_tab_background_unselected_dark</item>
290 <item name="widgetPickerSelectedTabTextColor">
291 @color/widget_picker_selected_tab_text_color_dark</item>
292 <item name="widgetPickerUnselectedTabTextColor">
293 @color/widget_picker_unselected_tab_text_color_dark</item>
294 <item name="widgetPickerCollapseHandleColor">
295 @color/widget_picker_collapse_handle_color_dark</item>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700296 </style>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700297
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700298 <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700299 <item name="android:layout_width">wrap_content</item>
Sunny Goyal1a8f6fb2017-06-14 15:35:16 -0700300 <item name="android:minWidth">@dimen/fastscroll_popup_width</item>
301 <item name="android:layout_height">@dimen/fastscroll_popup_height</item>
302 <item name="android:textSize">@dimen/fastscroll_popup_text_size</item>
303 <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700304 <item name="android:gravity">center</item>
305 <item name="android:alpha">0</item>
306 <item name="android:elevation">3dp</item>
307 <item name="android:saveEnabled">false</item>
Hyunyoung Song3af62c12021-05-12 00:29:53 -0700308 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700309 <item name="android:includeFontPadding">false</item>
Sunny Goyalc82c6392018-06-06 15:39:13 -0700310 <item name="android:importantForAccessibility">no</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700311 </style>
312
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700313 <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
314
315 <style name="BaseIconUnBounded" parent="BaseIconRoot">
Romain Guy8f19cdd2010-01-08 15:07:00 -0800316 <item name="android:layout_width">match_parent</item>
317 <item name="android:layout_height">match_parent</item>
Winson Chung4b825dcd2011-06-19 12:41:22 -0700318 <item name="android:layout_gravity">center</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800319 <item name="android:focusable">true</item>
Winson Chung785d2eb2011-04-14 16:08:02 -0700320 <item name="android:gravity">center_horizontal</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800321 <item name="android:textColor">?android:attr/textColorSecondary</item>
Sunny Goyalc9d3d062018-03-22 12:18:08 -0700322 <item name="android:defaultFocusHighlightEnabled">false</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800323 <!-- No shadows in the base theme -->
324 <item name="android:shadowRadius">0</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800325 </style>
326
Samuel Fufa980767a2020-06-18 16:33:32 -0700327 <!-- Base theme for BubbleTextView and sub classes -->
328 <style name="BaseIcon" parent="BaseIconUnBounded">
329 <item name="android:lines">1</item>
330 </style>
331
Samuel Fufa314761a2020-10-14 10:15:07 -0700332 <!-- Base theme for AllApps BubbleTextViews -->
333 <style name="BaseIcon.AllApps" parent="BaseIcon">
334 <item name="android:layout_width">match_parent</item>
335 <item name="android:layout_height">wrap_content</item>
336 <item name="android:stateListAnimator">@animator/all_apps_fastscroll_icon_anim</item>
337 <item name="android:paddingLeft">@dimen/dynamic_grid_cell_padding_x</item>
338 <item name="android:paddingRight">@dimen/dynamic_grid_cell_padding_x</item>
339 </style>
340
341
Hyunyoung Songe751d902019-05-13 23:23:05 -0700342 <!-- Icon displayed on the workspace -->
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700343 <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon">
James O'Learydac75ae2022-05-31 21:12:38 +0000344 <item name="android:shadowRadius">2.0</item>
Sunny Goyal325b5c72017-06-11 20:22:08 -0700345 <item name="android:shadowColor">?attr/workspaceShadowColor</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700346 <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000347 <item name="ambientShadowBlur">1.5dp</item>
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700348 <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000349 <item name="keyShadowBlur">.5dp</item>
350 <item name="keyShadowOffsetX">.5dp</item>
351 <item name="keyShadowOffsetY">.5dp</item>
Tony Wickham9438ed42017-01-20 09:38:25 -0800352 </style>
353
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700354 <!-- Intentionally empty so we can override -->
355 <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows">
356 </style>
357
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700358 <!-- Theme for the popup container -->
Tony Wickham90038eb2017-06-06 15:42:32 -0700359 <style name="PopupItem">
360 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700361 </style>
362
Charlie Anderson63be5b52023-03-06 13:03:11 -0500363 <style name="PopupItemIconOnly">
364 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
365 <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
366 </style>
367
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800368 <!-- Drop targets -->
Pat Manning0b16bba2022-07-15 11:53:42 +0100369 <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium">
Steven Nga1dcbce2021-07-23 17:06:10 +0100370 <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item>
Alina Zaidi1b5efa32021-06-30 16:54:14 +0100371 <item name="android:padding">14dp</item>
Jordan Silva567372f2023-03-28 00:33:08 +0100372 <item name="android:includeFontPadding">false</item>
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +0100373 <item name="android:textColor">@color/drop_target_text</item>
Sunny Goyal0e375f92014-10-23 11:38:15 -0700374 <item name="android:textSize">@dimen/drop_target_text_size</item>
Winson Chung90576b52011-09-27 17:45:27 -0700375 <item name="android:singleLine">true</item>
376 <item name="android:ellipsize">end</item>
Yogisha Dixit2ff963b2021-06-03 10:41:44 +0100377 <item name="android:background">@drawable/drop_target_background</item>
Winson Chung4c98d922011-05-31 16:50:48 -0700378 </style>
Winson Chung1cad91e2011-05-25 17:41:01 -0700379
Sunny Goyal70660032015-05-14 00:07:08 -0700380 <style name="DropTargetButton" parent="DropTargetButtonBase" />
Mario Bertschler93e39ec2017-06-09 10:20:17 -0700381
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700382 <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" />
Hyunyoung Song05d3e862021-05-14 00:00:19 -0700383
Samuel Fufa0826bc12020-05-10 14:40:20 -0700384 <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700385
Hyunyoung Song72dae7f2019-02-27 16:58:57 -0800386 <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" />
Sunny Goyal5931ca02017-06-19 17:29:48 -0700387
Alina Zaidif2c79de2021-05-27 14:55:21 +0100388 <style name="Button.TopRounded.Bordered" parent="@android:style/Widget.Material.Button">
389 <item name="android:background">@drawable/button_top_rounded_bordered_ripple</item>
390 <item name="android:stateListAnimator">@null</item>
391 </style>
392
393 <style name="Button.BottomRounded.Colored" parent="@android:style/Widget.Material.Button">
394 <item name="android:background">@drawable/button_bottom_rounded_colored_ripple</item>
395 <item name="android:stateListAnimator">@null</item>
396 </style>
397
398 <style name="Button.Rounded.Colored" parent="@android:style/Widget.Material.Button">
399 <item name="android:background">@drawable/button_rounded_colored_ripple</item>
400 <item name="android:stateListAnimator">@null</item>
401 </style>
402
Alina Zaidi8cabe522021-05-21 17:59:19 +0100403 <style name="Button.FullRounded.Colored" parent="@android:style/Widget.Material.Button">
404 <item name="android:background">@drawable/full_rounded_colored_ripple</item>
405 <item name="android:stateListAnimator">@null</item>
406 </style>
407
Alina Zaidid80cec62021-05-13 14:13:18 +0100408 <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
409 <item name="widgetsTheme">@style/WidgetContainerTheme</item>
Alina Zaidi2e4d15d2021-06-04 17:41:44 +0100410 <item name="android:windowLightStatusBar">true</item>
Alina Zaididfa6aa82021-06-09 16:41:22 +0100411 <item name="android:windowTranslucentStatus">true</item>
Alina Zaidid80cec62021-05-13 14:13:18 +0100412 </style>
Thales Limab35faed2022-09-05 16:30:01 -0300413
Thales Limad852d652023-01-17 14:01:13 +0000414 <style name="FolderStyleDefault">
Thales Limab35faed2022-09-05 16:30:01 -0300415 <item name="folderTopPadding">24dp</item>
416 <item name="folderCellHeight">94dp</item>
417 <item name="folderCellWidth">80dp</item>
418 <item name="folderBorderSpace">16dp</item>
419 <item name="folderFooterHeight">56dp</item>
420 </style>
421
Thales Limad852d652023-01-17 14:01:13 +0000422 <style name="CellStyleDefault">
423 <item name="iconDrawablePadding">7dp</item>
424 </style>
425
Thales Limae9273ea2023-01-26 12:33:52 +0000426 <style name="AllAppsStyleDefault">
427 <item name="horizontalPadding">16dp</item>
428 </style>
429
Adam Cohenbe258222014-10-24 16:45:59 -0700430</resources>