blob: d0f2067d9c8b213407762bb163c8dbd3598b6da6 [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>
Lucas Dupin29cd3272021-01-26 15:06:11 -080034 <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item>
Samuel Fufa76b33402021-05-18 16:15:46 -050035 <item name="allappsHeaderProtectionColor">@color/popup_color_tertiary_light</item>
Sunny Goyal81a70e52017-08-18 01:02:20 -070036 <item name="allAppsNavBarScrimColor">#66FFFFFF</item>
Lucas Dupin993fed22021-02-04 15:40:45 -080037 <item name="popupColorPrimary">@color/popup_color_primary_light</item>
38 <item name="popupColorSecondary">@color/popup_color_secondary_light</item>
39 <item name="popupColorTertiary">@color/popup_color_tertiary_light</item>
Jon Miranda6a936e32021-06-24 10:58:56 -070040 <item name="popupShadeFirst">@color/popup_shade_first_light</item>
41 <item name="popupShadeSecond">@color/popup_shade_second_light</item>
42 <item name="popupShadeThird">@color/popup_shade_third_light</item>
Jon Miranda313b2c22021-06-17 12:35:43 -070043 <item name="popupNotificationDotColor">@color/popup_notification_dot_light</item>
fbaron1406a0f2023-05-11 08:46:46 -070044 <item name="notificationDotColor">@color/notification_dot_color_light</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070045 <item name="isMainColorDark">false</item>
46 <item name="isWorkspaceDarkText">false</item>
Lucas Dupin993fed22021-02-04 15:40:45 -080047 <item name="workspaceTextColor">@color/workspace_text_color_light</item>
James O'Learydac75ae2022-05-31 21:12:38 +000048 <item name="workspaceShadowColor">#B0000000</item>
49 <item name="workspaceAmbientShadowColor">#40000000</item>
50 <item name="workspaceKeyShadowColor">#89000000</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070051 <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item>
Tony Wickham093c3ac2017-06-26 10:48:41 -070052 <item name="widgetsTheme">@style/WidgetContainerTheme</item>
Sunny Goyal5cd1b192023-04-06 22:33:11 +000053 <item name="folderPaginationColor">@color/folder_pagination_color_light</item>
Jon Mirandab77878e2021-10-06 16:57:33 -070054 <item name="folderPreviewColor">@color/folder_preview_light</item>
55 <item name="folderBackgroundColor">@color/folder_background_light</item>
Sunny Goyalbcadb7f2019-02-05 14:45:31 -080056 <item name="folderIconBorderColor">?android:attr/colorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -070057 <item name="isFolderDarkText">true</item>
fbaron8463f6a2023-05-12 13:41:07 -070058 <item name="folderTextColor">@color/folder_text_color_light</item>
59 <item name="folderHintTextColor">@color/folder_hint_text_color_light</item>
Sunny Goyal577bc6b2019-04-04 14:50:29 -070060 <item name="loadingIconColor">#CCFFFFFF</item>
Samuel Fufa07919c62020-04-14 17:37:44 -070061 <item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item>
Samuel Fufa1012fd22020-05-07 15:18:05 -070062 <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item>
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +010063 <item name="workspaceAccentColor">@color/workspace_accent_color_light</item>
Yogisha Dixit20467302021-07-16 15:04:33 +010064 <item name="dropTargetHoverTextColor">@color/workspace_text_color_dark</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -070065 <item name="overviewScrimColor">@color/overview_scrim</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -070066 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_light</item>
67 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_light</item>
Sunny Goyal367f2192018-10-17 11:24:48 -070068 <item name="android:windowTranslucentStatus">false</item>
69 <item name="android:windowTranslucentNavigation">false</item>
70 <item name="android:windowDrawsSystemBarBackgrounds">true</item>
71 <item name="android:statusBarColor">#00000000</item>
72 <item name="android:navigationBarColor">#00000000</item>
Jagrut Desaic6d625b2023-04-03 16:57:32 -070073 <item name="android:switchStyle">@style/SwitchStyle</item>
74 </style>
75
76 <style name="SwitchStyle"
77 parent="@android:style/Widget.Material.CompoundButton.Switch">
78 <item name="android:switchMinWidth">52dp</item>
79 <item name="android:thumb">@drawable/home_settings_switch_thumb</item>
80 <item name="android:track">@drawable/home_settings_switch_track</item>
Sunny Goyal367f2192018-10-17 11:24:48 -070081 </style>
Sunny Goyal5abb9f82016-02-09 15:22:42 -080082
Sunny Goyaladb364a2022-12-09 12:37:25 -080083 <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070084
Sunny Goyala6afdff2018-05-24 13:49:57 -070085 <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -080086 <item name="workspaceTextColor">@color/workspace_text_color_dark</item>
James O'Learydac75ae2022-05-31 21:12:38 +000087 <item name="workspaceShadowColor">@android:color/transparent</item>
88 <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
89 <item name="workspaceKeyShadowColor">@android:color/transparent</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070090 <item name="isWorkspaceDarkText">true</item>
91 <item name="workspaceStatusBarScrim">@null</item>
Yogisha Dixit20467302021-07-16 15:04:33 +010092 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
93 <item name="dropTargetHoverTextColor">@color/workspace_text_color_light</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070094 </style>
95
Sunny Goyalbd88f392018-06-07 15:42:57 -070096 <style name="LauncherTheme.Dark" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -080097 <item name="android:textColorPrimary">@color/text_color_primary_dark</item>
98 <item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
99 <item name="android:textColorTertiary">@color/text_color_tertiary_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700100 <item name="android:textColorHint">#A0FFFFFF</item>
Lucas Dupine4d07f92021-05-06 18:29:33 -0700101 <item name="android:colorControlHighlight">#19FFFFFF</item>
Sunny Goyal12f80382018-05-14 15:57:59 -0700102 <item name="android:colorPrimary">#FF212121</item>
Lucas Dupin29cd3272021-01-26 15:06:11 -0800103 <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item>
Sunny Goyal81a70e52017-08-18 01:02:20 -0700104 <item name="allAppsNavBarScrimColor">#80000000</item>
Lucas Dupin993fed22021-02-04 15:40:45 -0800105 <item name="popupColorPrimary">@color/popup_color_primary_dark</item>
106 <item name="popupColorSecondary">@color/popup_color_secondary_dark</item>
107 <item name="popupColorTertiary">@color/popup_color_tertiary_dark</item>
Jon Miranda313b2c22021-06-17 12:35:43 -0700108 <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item>
Jon Miranda6a936e32021-06-24 10:58:56 -0700109 <item name="popupShadeFirst">@color/popup_shade_first_dark</item>
110 <item name="popupShadeSecond">@color/popup_shade_second_dark</item>
111 <item name="popupShadeThird">@color/popup_shade_third_dark</item>
fbaron1406a0f2023-05-11 08:46:46 -0700112 <item name="notificationDotColor">@color/notification_dot_color_dark</item>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700113 <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
Sunny Goyal5cd1b192023-04-06 22:33:11 +0000114 <item name="folderPaginationColor">@color/folder_pagination_color_dark</item>
Jon Mirandab77878e2021-10-06 16:57:33 -0700115 <item name="folderPreviewColor">@color/folder_preview_dark</item>
116 <item name="folderBackgroundColor">@color/folder_background_dark</item>
Lucas Dupin29cd3272021-01-26 15:06:11 -0800117 <item name="folderIconBorderColor">?android:attr/colorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -0700118 <item name="isFolderDarkText">false</item>
fbaron8463f6a2023-05-12 13:41:07 -0700119 <item name="folderTextColor">@color/folder_text_color_dark</item>
120 <item name="folderHintTextColor">@color/folder_hint_text_color_dark</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700121 <item name="isMainColorDark">true</item>
Sunny Goyal577bc6b2019-04-04 14:50:29 -0700122 <item name="loadingIconColor">#99FFFFFF</item>
Samuel Fufa07919c62020-04-14 17:37:44 -0700123 <item name="iconOnlyShortcutColor">#B3FFFFFF</item>
Samuel Fufa1012fd22020-05-07 15:18:05 -0700124 <item name="eduHalfSheetBGColor">#DD000000</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -0700125 <item name="overviewScrimColor">@color/overview_scrim_dark</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -0700126 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item>
127 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700128 </style>
129
Sunny Goyaladb364a2022-12-09 12:37:25 -0800130 <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"/>
Hyunyoung Songe751d902019-05-13 23:23:05 -0700131
Sunny Goyalbd88f392018-06-07 15:42:57 -0700132 <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark">
Lucas Dupine4d07f92021-05-06 18:29:33 -0700133 <item name="android:colorControlHighlight">#19212121</item>
Lucas Dupin993fed22021-02-04 15:40:45 -0800134 <item name="workspaceTextColor">@color/workspace_text_color_dark</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000135 <item name="workspaceShadowColor">@android:color/transparent</item>
136 <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
137 <item name="workspaceKeyShadowColor">@android:color/transparent</item>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700138 <item name="isWorkspaceDarkText">true</item>
139 <item name="workspaceStatusBarScrim">@null</item>
Yogisha Dixit20467302021-07-16 15:04:33 +0100140 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
141 <item name="dropTargetHoverTextColor">@color/workspace_text_color_light</item>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700142 </style>
143
Sunny Goyalbd88f392018-06-07 15:42:57 -0700144 <!-- A derivative project can extend these themes to customize the application theme without
145 affecting the base theme -->
146 <style name="AppTheme" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700147 <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700148 <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700149
Sunny Goyalbd88f392018-06-07 15:42:57 -0700150 <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700151 <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700152 <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" />
153
Brian Isganitis93031bc2021-06-09 16:34:45 -0400154 <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings">
Schneider Victor-tuliase8454632021-04-07 14:07:28 -0700155 <item name="android:navigationBarColor">?android:colorPrimaryDark</item>
Brian Isganitis08fdf4d2021-05-25 18:02:22 -0400156 <item name="android:windowActionBar">false</item>
157 <item name="android:windowNoTitle">true</item>
Brian Isganitis93031bc2021-06-09 16:34:45 -0400158 <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item>
alexmang457ae092020-07-18 14:34:12 -0700159 </style>
160
Brian Isganitis93031bc2021-06-09 16:34:45 -0400161 <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
162 <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item>
alexmang457ae092020-07-18 14:34:12 -0700163 </style>
164
Brian Isganitis93031bc2021-06-09 16:34:45 -0400165 <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material">
alexmang457ae092020-07-18 14:34:12 -0700166 <item name="android:layout">@layout/home_settings</item>
Samuel Fufa9fee0452019-11-12 16:49:21 -0800167 </style>
168
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800169 <!--
170 Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper.
Sunny Goyal325b5c72017-06-11 20:22:08 -0700171 Various foreground colors are overridden to be workspaceTextColor so that they are properly
172 visible on various wallpapers.
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800173 -->
Mario Bertschlera6936942017-05-31 14:48:19 -0700174 <style name="HomeScreenElementTheme">
Sunny Goyal325b5c72017-06-11 20:22:08 -0700175 <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item>
176 <item name="android:textColorPrimary">?attr/workspaceTextColor</item>
177 <item name="android:textColorSecondary">?attr/workspaceTextColor</item>
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800178 </style>
179
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700180 <!-- Theme for the widget container. -->
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800181 <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700182 <item name="android:colorPrimaryDark">#E8EAED</item>
183 <item name="android:textColorSecondary">?android:attr/textColorPrimary</item>
184 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
fbaron328ca382023-04-13 20:17:15 -0700185 <item name="widgetPickerPrimarySurfaceColor">
186 @color/widget_picker_primary_surface_color_light</item>
187 <item name="widgetPickerSecondarySurfaceColor">
188 @color/widget_picker_secondary_surface_color_light</item>
189 <item name="widgetPickerTitleColor">@color/widget_picker_title_color_light</item>
190 <item name="widgetPickerHeaderAppTitleColor">
191 @color/widget_picker_header_app_title_color_light</item>
192 <item name="widgetPickerHeaderAppSubtitleColor">
193 @color/widget_picker_header_app_subtitle_color_light</item>
194 <item name="widgetPickerHeaderBackgroundColor">
195 @color/widget_picker_header_background_color_light</item>
196 <item name="widgetPickerSuggestionsIconBackgroundColor">
197 @color/widget_picker_suggestions_icon_background_color_light</item>
198 <item name="widgetPickerSuggestionsIconColor">
199 @color/widget_picker_suggestions_icon_color_light</item>
200 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_light</item>
201 <item name="widgetPickerTabBackgroundSelected">
202 @color/widget_picker_tab_background_selected_light</item>
203 <item name="widgetPickerTabBackgroundUnselected">
204 @color/widget_picker_tab_background_unselected_light</item>
205 <item name="widgetPickerSelectedTabTextColor">
206 @color/widget_picker_selected_tab_text_color_light</item>
207 <item name="widgetPickerUnselectedTabTextColor">
208 @color/widget_picker_unselected_tab_text_color_light</item>
209 <item name="widgetPickerCollapseHandleColor">
210 @color/widget_picker_collapse_handle_color_light</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800211 </style>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700212 <style name="WidgetContainerTheme.Dark" parent="AppTheme.Dark">
213 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
214 <item name="android:colorPrimaryDark">#616161</item> <!-- Gray 700 -->
fbaron328ca382023-04-13 20:17:15 -0700215 <item name="widgetPickerPrimarySurfaceColor">
216 @color/widget_picker_primary_surface_color_dark</item>
217 <item name="widgetPickerSecondarySurfaceColor">
218 @color/widget_picker_secondary_surface_color_dark</item>
219 <item name="widgetPickerTitleColor">
220 @color/widget_picker_title_color_dark</item>
221 <item name="widgetPickerHeaderAppTitleColor">
222 @color/widget_picker_header_app_title_color_dark</item>
223 <item name="widgetPickerHeaderAppSubtitleColor">
224 @color/widget_picker_header_app_subtitle_color_dark</item>
225 <item name="widgetPickerHeaderBackgroundColor">
226 @color/widget_picker_header_background_color_dark</item>
227 <item name="widgetPickerSuggestionsIconBackgroundColor">
228 @color/widget_picker_suggestions_icon_background_color_dark</item>
229 <item name="widgetPickerSuggestionsIconColor">
230 @color/widget_picker_suggestions_icon_color_dark</item>
231 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_dark</item>
232 <item name="widgetPickerTabBackgroundSelected">
233 @color/widget_picker_tab_background_selected_dark</item>
234 <item name="widgetPickerTabBackgroundUnselected">
235 @color/widget_picker_tab_background_unselected_dark</item>
236 <item name="widgetPickerSelectedTabTextColor">
237 @color/widget_picker_selected_tab_text_color_dark</item>
238 <item name="widgetPickerUnselectedTabTextColor">
239 @color/widget_picker_unselected_tab_text_color_dark</item>
240 <item name="widgetPickerCollapseHandleColor">
241 @color/widget_picker_collapse_handle_color_dark</item>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700242 </style>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700243
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700244 <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700245 <item name="android:layout_width">wrap_content</item>
Sunny Goyal1a8f6fb2017-06-14 15:35:16 -0700246 <item name="android:minWidth">@dimen/fastscroll_popup_width</item>
247 <item name="android:layout_height">@dimen/fastscroll_popup_height</item>
248 <item name="android:textSize">@dimen/fastscroll_popup_text_size</item>
249 <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700250 <item name="android:gravity">center</item>
251 <item name="android:alpha">0</item>
252 <item name="android:elevation">3dp</item>
253 <item name="android:saveEnabled">false</item>
Hyunyoung Song3af62c12021-05-12 00:29:53 -0700254 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700255 <item name="android:includeFontPadding">false</item>
Sunny Goyalc82c6392018-06-06 15:39:13 -0700256 <item name="android:importantForAccessibility">no</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700257 </style>
258
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700259 <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
260
261 <style name="BaseIconUnBounded" parent="BaseIconRoot">
Romain Guy8f19cdd2010-01-08 15:07:00 -0800262 <item name="android:layout_width">match_parent</item>
263 <item name="android:layout_height">match_parent</item>
Winson Chung4b825dcd2011-06-19 12:41:22 -0700264 <item name="android:layout_gravity">center</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800265 <item name="android:focusable">true</item>
Winson Chung785d2eb2011-04-14 16:08:02 -0700266 <item name="android:gravity">center_horizontal</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800267 <item name="android:textColor">?android:attr/textColorSecondary</item>
Sunny Goyalc9d3d062018-03-22 12:18:08 -0700268 <item name="android:defaultFocusHighlightEnabled">false</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800269 <!-- No shadows in the base theme -->
270 <item name="android:shadowRadius">0</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800271 </style>
272
Samuel Fufa980767a2020-06-18 16:33:32 -0700273 <!-- Base theme for BubbleTextView and sub classes -->
274 <style name="BaseIcon" parent="BaseIconUnBounded">
275 <item name="android:lines">1</item>
276 </style>
277
Samuel Fufa314761a2020-10-14 10:15:07 -0700278 <!-- Base theme for AllApps BubbleTextViews -->
279 <style name="BaseIcon.AllApps" parent="BaseIcon">
280 <item name="android:layout_width">match_parent</item>
281 <item name="android:layout_height">wrap_content</item>
282 <item name="android:stateListAnimator">@animator/all_apps_fastscroll_icon_anim</item>
283 <item name="android:paddingLeft">@dimen/dynamic_grid_cell_padding_x</item>
284 <item name="android:paddingRight">@dimen/dynamic_grid_cell_padding_x</item>
285 </style>
286
287
Hyunyoung Songe751d902019-05-13 23:23:05 -0700288 <!-- Icon displayed on the workspace -->
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700289 <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon">
James O'Learydac75ae2022-05-31 21:12:38 +0000290 <item name="android:shadowRadius">2.0</item>
Sunny Goyal325b5c72017-06-11 20:22:08 -0700291 <item name="android:shadowColor">?attr/workspaceShadowColor</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700292 <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000293 <item name="ambientShadowBlur">1.5dp</item>
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700294 <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000295 <item name="keyShadowBlur">.5dp</item>
296 <item name="keyShadowOffsetX">.5dp</item>
297 <item name="keyShadowOffsetY">.5dp</item>
Tony Wickham9438ed42017-01-20 09:38:25 -0800298 </style>
299
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700300 <!-- Intentionally empty so we can override -->
301 <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows">
302 </style>
303
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700304 <!-- Theme for the popup container -->
Tony Wickham90038eb2017-06-06 15:42:32 -0700305 <style name="PopupItem">
306 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700307 </style>
308
Charlie Anderson63be5b52023-03-06 13:03:11 -0500309 <style name="PopupItemIconOnly">
310 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
311 <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
312 </style>
313
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800314 <!-- Drop targets -->
Pat Manning0b16bba2022-07-15 11:53:42 +0100315 <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium">
Steven Nga1dcbce2021-07-23 17:06:10 +0100316 <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item>
Alina Zaidi1b5efa32021-06-30 16:54:14 +0100317 <item name="android:padding">14dp</item>
Jordan Silva567372f2023-03-28 00:33:08 +0100318 <item name="android:includeFontPadding">false</item>
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +0100319 <item name="android:textColor">@color/drop_target_text</item>
Sunny Goyal0e375f92014-10-23 11:38:15 -0700320 <item name="android:textSize">@dimen/drop_target_text_size</item>
Winson Chung90576b52011-09-27 17:45:27 -0700321 <item name="android:singleLine">true</item>
322 <item name="android:ellipsize">end</item>
Yogisha Dixit2ff963b2021-06-03 10:41:44 +0100323 <item name="android:background">@drawable/drop_target_background</item>
Winson Chung4c98d922011-05-31 16:50:48 -0700324 </style>
Winson Chung1cad91e2011-05-25 17:41:01 -0700325
Sunny Goyal70660032015-05-14 00:07:08 -0700326 <style name="DropTargetButton" parent="DropTargetButtonBase" />
Mario Bertschler93e39ec2017-06-09 10:20:17 -0700327
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700328 <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" />
Hyunyoung Song05d3e862021-05-14 00:00:19 -0700329
Samuel Fufa0826bc12020-05-10 14:40:20 -0700330 <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700331
Hyunyoung Song72dae7f2019-02-27 16:58:57 -0800332 <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" />
Sunny Goyal5931ca02017-06-19 17:29:48 -0700333
Alina Zaidif2c79de2021-05-27 14:55:21 +0100334 <style name="Button.TopRounded.Bordered" parent="@android:style/Widget.Material.Button">
335 <item name="android:background">@drawable/button_top_rounded_bordered_ripple</item>
336 <item name="android:stateListAnimator">@null</item>
337 </style>
338
339 <style name="Button.BottomRounded.Colored" parent="@android:style/Widget.Material.Button">
340 <item name="android:background">@drawable/button_bottom_rounded_colored_ripple</item>
341 <item name="android:stateListAnimator">@null</item>
342 </style>
343
344 <style name="Button.Rounded.Colored" parent="@android:style/Widget.Material.Button">
345 <item name="android:background">@drawable/button_rounded_colored_ripple</item>
346 <item name="android:stateListAnimator">@null</item>
347 </style>
348
Alina Zaidi8cabe522021-05-21 17:59:19 +0100349 <style name="Button.FullRounded.Colored" parent="@android:style/Widget.Material.Button">
350 <item name="android:background">@drawable/full_rounded_colored_ripple</item>
351 <item name="android:stateListAnimator">@null</item>
352 </style>
353
Alina Zaidid80cec62021-05-13 14:13:18 +0100354 <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
355 <item name="widgetsTheme">@style/WidgetContainerTheme</item>
Alina Zaidi2e4d15d2021-06-04 17:41:44 +0100356 <item name="android:windowLightStatusBar">true</item>
Alina Zaididfa6aa82021-06-09 16:41:22 +0100357 <item name="android:windowTranslucentStatus">true</item>
Alina Zaidid80cec62021-05-13 14:13:18 +0100358 </style>
Thales Limab35faed2022-09-05 16:30:01 -0300359
Thales Limad852d652023-01-17 14:01:13 +0000360 <style name="FolderStyleDefault">
Thales Limab35faed2022-09-05 16:30:01 -0300361 <item name="folderTopPadding">24dp</item>
362 <item name="folderCellHeight">94dp</item>
363 <item name="folderCellWidth">80dp</item>
364 <item name="folderBorderSpace">16dp</item>
365 <item name="folderFooterHeight">56dp</item>
366 </style>
367
Thales Limad852d652023-01-17 14:01:13 +0000368 <style name="CellStyleDefault">
369 <item name="iconDrawablePadding">7dp</item>
370 </style>
371
Thales Limae9273ea2023-01-26 12:33:52 +0000372 <style name="AllAppsStyleDefault">
373 <item name="horizontalPadding">16dp</item>
374 </style>
375
Adam Cohenbe258222014-10-24 16:45:59 -0700376</resources>