blob: 77d92d9ef1346c4af5d7cbe06eaf03b1ff1e344d [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>
Federico Baron79a9bfe2023-01-26 12:02:36 -080057 <item name="folderTextColor">?android:attr/textColorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -070058 <item name="isFolderDarkText">true</item>
Jon Mirandae3104682021-05-18 11:14:14 -070059 <item name="folderHintColor">@color/folder_hint_text_color_dark</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>
fbarone8efdc42023-05-16 16:57:19 -070064 <item name="workspaceSurfaceColor">@color/workspace_surface_color</item>
65 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_light</item>
66 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_light</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -070067 <item name="overviewScrimColor">@color/overview_scrim</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -070068 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_light</item>
69 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_light</item>
Sunny Goyal367f2192018-10-17 11:24:48 -070070 <item name="android:windowTranslucentStatus">false</item>
71 <item name="android:windowTranslucentNavigation">false</item>
72 <item name="android:windowDrawsSystemBarBackgrounds">true</item>
73 <item name="android:statusBarColor">#00000000</item>
74 <item name="android:navigationBarColor">#00000000</item>
Jagrut Desaic6d625b2023-04-03 16:57:32 -070075 <item name="android:switchStyle">@style/SwitchStyle</item>
76 </style>
77
78 <style name="SwitchStyle"
79 parent="@android:style/Widget.Material.CompoundButton.Switch">
80 <item name="android:switchMinWidth">52dp</item>
81 <item name="android:thumb">@drawable/home_settings_switch_thumb</item>
82 <item name="android:track">@drawable/home_settings_switch_track</item>
Sunny Goyal367f2192018-10-17 11:24:48 -070083 </style>
Sunny Goyal5abb9f82016-02-09 15:22:42 -080084
Sunny Goyaladb364a2022-12-09 12:37:25 -080085 <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -070086
Sunny Goyala6afdff2018-05-24 13:49:57 -070087 <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -080088 <item name="workspaceTextColor">@color/workspace_text_color_dark</item>
James O'Learydac75ae2022-05-31 21:12:38 +000089 <item name="workspaceShadowColor">@android:color/transparent</item>
90 <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
91 <item name="workspaceKeyShadowColor">@android:color/transparent</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070092 <item name="isWorkspaceDarkText">true</item>
93 <item name="workspaceStatusBarScrim">@null</item>
Yogisha Dixit20467302021-07-16 15:04:33 +010094 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
fbarone8efdc42023-05-16 16:57:19 -070095 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item>
96 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item>
Mario Bertschlera6936942017-05-31 14:48:19 -070097 </style>
98
Sunny Goyalbd88f392018-06-07 15:42:57 -070099 <style name="LauncherTheme.Dark" parent="@style/LauncherTheme">
Lucas Dupin993fed22021-02-04 15:40:45 -0800100 <item name="android:textColorPrimary">@color/text_color_primary_dark</item>
101 <item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
102 <item name="android:textColorTertiary">@color/text_color_tertiary_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700103 <item name="android:textColorHint">#A0FFFFFF</item>
Lucas Dupine4d07f92021-05-06 18:29:33 -0700104 <item name="android:colorControlHighlight">#19FFFFFF</item>
Sunny Goyal12f80382018-05-14 15:57:59 -0700105 <item name="android:colorPrimary">#FF212121</item>
Lucas Dupin29cd3272021-01-26 15:06:11 -0800106 <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item>
Sunny Goyal81a70e52017-08-18 01:02:20 -0700107 <item name="allAppsNavBarScrimColor">#80000000</item>
Lucas Dupin993fed22021-02-04 15:40:45 -0800108 <item name="popupColorPrimary">@color/popup_color_primary_dark</item>
109 <item name="popupColorSecondary">@color/popup_color_secondary_dark</item>
110 <item name="popupColorTertiary">@color/popup_color_tertiary_dark</item>
Jon Miranda313b2c22021-06-17 12:35:43 -0700111 <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item>
Jon Miranda6a936e32021-06-24 10:58:56 -0700112 <item name="popupShadeFirst">@color/popup_shade_first_dark</item>
113 <item name="popupShadeSecond">@color/popup_shade_second_dark</item>
114 <item name="popupShadeThird">@color/popup_shade_third_dark</item>
fbaron1406a0f2023-05-11 08:46:46 -0700115 <item name="notificationDotColor">@color/notification_dot_color_dark</item>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700116 <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
Sunny Goyal5cd1b192023-04-06 22:33:11 +0000117 <item name="folderPaginationColor">@color/folder_pagination_color_dark</item>
Jon Mirandab77878e2021-10-06 16:57:33 -0700118 <item name="folderPreviewColor">@color/folder_preview_dark</item>
119 <item name="folderBackgroundColor">@color/folder_background_dark</item>
Lucas Dupin29cd3272021-01-26 15:06:11 -0800120 <item name="folderIconBorderColor">?android:attr/colorPrimary</item>
Jon Miranda7bbd0312021-05-11 17:01:13 -0700121 <item name="isFolderDarkText">false</item>
Jon Mirandae3104682021-05-18 11:14:14 -0700122 <item name="folderHintColor">@color/folder_hint_text_color_light</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700123 <item name="isMainColorDark">true</item>
Sunny Goyal577bc6b2019-04-04 14:50:29 -0700124 <item name="loadingIconColor">#99FFFFFF</item>
Samuel Fufa07919c62020-04-14 17:37:44 -0700125 <item name="iconOnlyShortcutColor">#B3FFFFFF</item>
Samuel Fufa1012fd22020-05-07 15:18:05 -0700126 <item name="eduHalfSheetBGColor">#DD000000</item>
Zak Cohen4d35ac32021-04-23 16:28:12 -0700127 <item name="overviewScrimColor">@color/overview_scrim_dark</item>
Brian Isganitiscd7cc292022-05-24 15:36:06 -0700128 <item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item>
129 <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_dark</item>
Sunny Goyal368ae772017-05-24 13:19:15 -0700130 </style>
131
Sunny Goyaladb364a2022-12-09 12:37:25 -0800132 <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"/>
Hyunyoung Songe751d902019-05-13 23:23:05 -0700133
Sunny Goyalbd88f392018-06-07 15:42:57 -0700134 <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark">
Lucas Dupine4d07f92021-05-06 18:29:33 -0700135 <item name="android:colorControlHighlight">#19212121</item>
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>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700140 <item name="isWorkspaceDarkText">true</item>
141 <item name="workspaceStatusBarScrim">@null</item>
Yogisha Dixit20467302021-07-16 15:04:33 +0100142 <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item>
fbarone8efdc42023-05-16 16:57:19 -0700143 <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item>
144 <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item>
Sunny Goyala6afdff2018-05-24 13:49:57 -0700145 </style>
146
Sunny Goyalbd88f392018-06-07 15:42:57 -0700147 <!-- A derivative project can extend these themes to customize the application theme without
148 affecting the base theme -->
149 <style name="AppTheme" parent="@style/LauncherTheme" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700150 <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700151 <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700152
Sunny Goyalbd88f392018-06-07 15:42:57 -0700153 <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" />
Hyunyoung Songe751d902019-05-13 23:23:05 -0700154 <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" />
Sunny Goyalbd88f392018-06-07 15:42:57 -0700155 <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" />
156
Brian Isganitis93031bc2021-06-09 16:34:45 -0400157 <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings">
Schneider Victor-tuliase8454632021-04-07 14:07:28 -0700158 <item name="android:navigationBarColor">?android:colorPrimaryDark</item>
Brian Isganitis08fdf4d2021-05-25 18:02:22 -0400159 <item name="android:windowActionBar">false</item>
160 <item name="android:windowNoTitle">true</item>
Brian Isganitis93031bc2021-06-09 16:34:45 -0400161 <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item>
alexmang457ae092020-07-18 14:34:12 -0700162 </style>
163
Brian Isganitis93031bc2021-06-09 16:34:45 -0400164 <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">
165 <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item>
alexmang457ae092020-07-18 14:34:12 -0700166 </style>
167
Brian Isganitis93031bc2021-06-09 16:34:45 -0400168 <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material">
alexmang457ae092020-07-18 14:34:12 -0700169 <item name="android:layout">@layout/home_settings</item>
Samuel Fufa9fee0452019-11-12 16:49:21 -0800170 </style>
171
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800172 <!--
173 Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper.
Sunny Goyal325b5c72017-06-11 20:22:08 -0700174 Various foreground colors are overridden to be workspaceTextColor so that they are properly
175 visible on various wallpapers.
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800176 -->
Mario Bertschlera6936942017-05-31 14:48:19 -0700177 <style name="HomeScreenElementTheme">
Sunny Goyal325b5c72017-06-11 20:22:08 -0700178 <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item>
179 <item name="android:textColorPrimary">?attr/workspaceTextColor</item>
180 <item name="android:textColorSecondary">?attr/workspaceTextColor</item>
Sunny Goyal9b29ca52017-02-17 10:39:44 -0800181 </style>
182
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700183 <!-- Theme for the widget container. -->
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800184 <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700185 <item name="android:colorPrimaryDark">#E8EAED</item>
186 <item name="android:textColorSecondary">?android:attr/textColorPrimary</item>
187 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
fbaron328ca382023-04-13 20:17:15 -0700188 <item name="widgetPickerPrimarySurfaceColor">
189 @color/widget_picker_primary_surface_color_light</item>
190 <item name="widgetPickerSecondarySurfaceColor">
191 @color/widget_picker_secondary_surface_color_light</item>
192 <item name="widgetPickerTitleColor">@color/widget_picker_title_color_light</item>
193 <item name="widgetPickerHeaderAppTitleColor">
194 @color/widget_picker_header_app_title_color_light</item>
195 <item name="widgetPickerHeaderAppSubtitleColor">
196 @color/widget_picker_header_app_subtitle_color_light</item>
197 <item name="widgetPickerHeaderBackgroundColor">
198 @color/widget_picker_header_background_color_light</item>
199 <item name="widgetPickerSuggestionsIconBackgroundColor">
200 @color/widget_picker_suggestions_icon_background_color_light</item>
201 <item name="widgetPickerSuggestionsIconColor">
202 @color/widget_picker_suggestions_icon_color_light</item>
203 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_light</item>
204 <item name="widgetPickerTabBackgroundSelected">
205 @color/widget_picker_tab_background_selected_light</item>
206 <item name="widgetPickerTabBackgroundUnselected">
207 @color/widget_picker_tab_background_unselected_light</item>
208 <item name="widgetPickerSelectedTabTextColor">
209 @color/widget_picker_selected_tab_text_color_light</item>
210 <item name="widgetPickerUnselectedTabTextColor">
211 @color/widget_picker_unselected_tab_text_color_light</item>
212 <item name="widgetPickerCollapseHandleColor">
213 @color/widget_picker_collapse_handle_color_light</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800214 </style>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700215 <style name="WidgetContainerTheme.Dark" parent="AppTheme.Dark">
216 <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item>
217 <item name="android:colorPrimaryDark">#616161</item> <!-- Gray 700 -->
fbaron328ca382023-04-13 20:17:15 -0700218 <item name="widgetPickerPrimarySurfaceColor">
219 @color/widget_picker_primary_surface_color_dark</item>
220 <item name="widgetPickerSecondarySurfaceColor">
221 @color/widget_picker_secondary_surface_color_dark</item>
222 <item name="widgetPickerTitleColor">
223 @color/widget_picker_title_color_dark</item>
224 <item name="widgetPickerHeaderAppTitleColor">
225 @color/widget_picker_header_app_title_color_dark</item>
226 <item name="widgetPickerHeaderAppSubtitleColor">
227 @color/widget_picker_header_app_subtitle_color_dark</item>
228 <item name="widgetPickerHeaderBackgroundColor">
229 @color/widget_picker_header_background_color_dark</item>
230 <item name="widgetPickerSuggestionsIconBackgroundColor">
231 @color/widget_picker_suggestions_icon_background_color_dark</item>
232 <item name="widgetPickerSuggestionsIconColor">
233 @color/widget_picker_suggestions_icon_color_dark</item>
234 <item name="widgetPickerSearchTextColor">@color/widget_picker_search_text_color_dark</item>
235 <item name="widgetPickerTabBackgroundSelected">
236 @color/widget_picker_tab_background_selected_dark</item>
237 <item name="widgetPickerTabBackgroundUnselected">
238 @color/widget_picker_tab_background_unselected_dark</item>
239 <item name="widgetPickerSelectedTabTextColor">
240 @color/widget_picker_selected_tab_text_color_dark</item>
241 <item name="widgetPickerUnselectedTabTextColor">
242 @color/widget_picker_unselected_tab_text_color_dark</item>
243 <item name="widgetPickerCollapseHandleColor">
244 @color/widget_picker_collapse_handle_color_dark</item>
Sunny Goyaleaf7a952020-07-29 16:54:20 -0700245 </style>
Tony Wickham093c3ac2017-06-26 10:48:41 -0700246
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700247 <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700248 <item name="android:layout_width">wrap_content</item>
Sunny Goyal1a8f6fb2017-06-14 15:35:16 -0700249 <item name="android:minWidth">@dimen/fastscroll_popup_width</item>
250 <item name="android:layout_height">@dimen/fastscroll_popup_height</item>
251 <item name="android:textSize">@dimen/fastscroll_popup_text_size</item>
252 <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700253 <item name="android:gravity">center</item>
254 <item name="android:alpha">0</item>
255 <item name="android:elevation">3dp</item>
256 <item name="android:saveEnabled">false</item>
Hyunyoung Song3af62c12021-05-12 00:29:53 -0700257 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700258 <item name="android:includeFontPadding">false</item>
Sunny Goyalc82c6392018-06-06 15:39:13 -0700259 <item name="android:importantForAccessibility">no</item>
Sunny Goyal3f0a53f2016-10-11 15:49:42 -0700260 </style>
261
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700262 <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
263
264 <style name="BaseIconUnBounded" parent="BaseIconRoot">
Romain Guy8f19cdd2010-01-08 15:07:00 -0800265 <item name="android:layout_width">match_parent</item>
266 <item name="android:layout_height">match_parent</item>
Winson Chung4b825dcd2011-06-19 12:41:22 -0700267 <item name="android:layout_gravity">center</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800268 <item name="android:focusable">true</item>
Winson Chung785d2eb2011-04-14 16:08:02 -0700269 <item name="android:gravity">center_horizontal</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800270 <item name="android:textColor">?android:attr/textColorSecondary</item>
Sunny Goyalc9d3d062018-03-22 12:18:08 -0700271 <item name="android:defaultFocusHighlightEnabled">false</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800272 <!-- No shadows in the base theme -->
273 <item name="android:shadowRadius">0</item>
Sunny Goyal1f3f07d2017-02-10 16:52:16 -0800274 </style>
275
Samuel Fufa980767a2020-06-18 16:33:32 -0700276 <!-- Base theme for BubbleTextView and sub classes -->
277 <style name="BaseIcon" parent="BaseIconUnBounded">
278 <item name="android:lines">1</item>
279 </style>
280
Samuel Fufa314761a2020-10-14 10:15:07 -0700281 <!-- Base theme for AllApps BubbleTextViews -->
282 <style name="BaseIcon.AllApps" parent="BaseIcon">
283 <item name="android:layout_width">match_parent</item>
284 <item name="android:layout_height">wrap_content</item>
285 <item name="android:stateListAnimator">@animator/all_apps_fastscroll_icon_anim</item>
286 <item name="android:paddingLeft">@dimen/dynamic_grid_cell_padding_x</item>
287 <item name="android:paddingRight">@dimen/dynamic_grid_cell_padding_x</item>
288 </style>
289
290
Hyunyoung Songe751d902019-05-13 23:23:05 -0700291 <!-- Icon displayed on the workspace -->
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700292 <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon">
James O'Learydac75ae2022-05-31 21:12:38 +0000293 <item name="android:shadowRadius">2.0</item>
Sunny Goyal325b5c72017-06-11 20:22:08 -0700294 <item name="android:shadowColor">?attr/workspaceShadowColor</item>
Mario Bertschlera6936942017-05-31 14:48:19 -0700295 <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000296 <item name="ambientShadowBlur">1.5dp</item>
Sunny Goyal9314b7c2017-06-23 10:36:27 -0700297 <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
James O'Learydac75ae2022-05-31 21:12:38 +0000298 <item name="keyShadowBlur">.5dp</item>
299 <item name="keyShadowOffsetX">.5dp</item>
300 <item name="keyShadowOffsetY">.5dp</item>
Tony Wickham9438ed42017-01-20 09:38:25 -0800301 </style>
302
Jon Miranda2d35d4b2021-05-27 18:55:15 -0700303 <!-- Intentionally empty so we can override -->
304 <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows">
305 </style>
306
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700307 <!-- Theme for the popup container -->
Tony Wickham90038eb2017-06-06 15:42:32 -0700308 <style name="PopupItem">
309 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
Tony Wickhamc66c3e22017-04-13 08:20:03 -0700310 </style>
311
Charlie Anderson63be5b52023-03-06 13:03:11 -0500312 <style name="PopupItemIconOnly">
313 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
314 <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
315 </style>
316
Sunny Goyal5abb9f82016-02-09 15:22:42 -0800317 <!-- Drop targets -->
Pat Manning0b16bba2022-07-15 11:53:42 +0100318 <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium">
Steven Nga1dcbce2021-07-23 17:06:10 +0100319 <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item>
Alina Zaidi1b5efa32021-06-30 16:54:14 +0100320 <item name="android:padding">14dp</item>
Jordan Silva567372f2023-03-28 00:33:08 +0100321 <item name="android:includeFontPadding">false</item>
Yogisha Dixitc0ac1dd2021-05-29 00:26:25 +0100322 <item name="android:textColor">@color/drop_target_text</item>
Sunny Goyal0e375f92014-10-23 11:38:15 -0700323 <item name="android:textSize">@dimen/drop_target_text_size</item>
Winson Chung90576b52011-09-27 17:45:27 -0700324 <item name="android:singleLine">true</item>
325 <item name="android:ellipsize">end</item>
Yogisha Dixit2ff963b2021-06-03 10:41:44 +0100326 <item name="android:background">@drawable/drop_target_background</item>
Winson Chung4c98d922011-05-31 16:50:48 -0700327 </style>
Winson Chung1cad91e2011-05-25 17:41:01 -0700328
Sunny Goyal70660032015-05-14 00:07:08 -0700329 <style name="DropTargetButton" parent="DropTargetButtonBase" />
Mario Bertschler93e39ec2017-06-09 10:20:17 -0700330
Jon Mirandaa7783fd2021-06-15 14:47:30 -0700331 <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" />
Hyunyoung Song05d3e862021-05-14 00:00:19 -0700332
Samuel Fufa0826bc12020-05-10 14:40:20 -0700333 <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>
Hyunyoung Songdf4bf922019-04-11 15:17:41 -0700334
Hyunyoung Song72dae7f2019-02-27 16:58:57 -0800335 <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" />
Sunny Goyal5931ca02017-06-19 17:29:48 -0700336
Alina Zaidif2c79de2021-05-27 14:55:21 +0100337 <style name="Button.TopRounded.Bordered" parent="@android:style/Widget.Material.Button">
338 <item name="android:background">@drawable/button_top_rounded_bordered_ripple</item>
339 <item name="android:stateListAnimator">@null</item>
340 </style>
341
342 <style name="Button.BottomRounded.Colored" parent="@android:style/Widget.Material.Button">
343 <item name="android:background">@drawable/button_bottom_rounded_colored_ripple</item>
344 <item name="android:stateListAnimator">@null</item>
345 </style>
346
347 <style name="Button.Rounded.Colored" parent="@android:style/Widget.Material.Button">
348 <item name="android:background">@drawable/button_rounded_colored_ripple</item>
349 <item name="android:stateListAnimator">@null</item>
350 </style>
351
Alina Zaidi8cabe522021-05-21 17:59:19 +0100352 <style name="Button.FullRounded.Colored" parent="@android:style/Widget.Material.Button">
353 <item name="android:background">@drawable/full_rounded_colored_ripple</item>
354 <item name="android:stateListAnimator">@null</item>
355 </style>
356
Alina Zaidid80cec62021-05-13 14:13:18 +0100357 <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
358 <item name="widgetsTheme">@style/WidgetContainerTheme</item>
Alina Zaidi2e4d15d2021-06-04 17:41:44 +0100359 <item name="android:windowLightStatusBar">true</item>
Alina Zaididfa6aa82021-06-09 16:41:22 +0100360 <item name="android:windowTranslucentStatus">true</item>
Alina Zaidid80cec62021-05-13 14:13:18 +0100361 </style>
Thales Limab35faed2022-09-05 16:30:01 -0300362
Thales Limad852d652023-01-17 14:01:13 +0000363 <style name="FolderStyleDefault">
Thales Limab35faed2022-09-05 16:30:01 -0300364 <item name="folderTopPadding">24dp</item>
365 <item name="folderCellHeight">94dp</item>
366 <item name="folderCellWidth">80dp</item>
367 <item name="folderBorderSpace">16dp</item>
368 <item name="folderFooterHeight">56dp</item>
369 </style>
370
Thales Limad852d652023-01-17 14:01:13 +0000371 <style name="CellStyleDefault">
372 <item name="iconDrawablePadding">7dp</item>
373 </style>
374
Thales Limae9273ea2023-01-26 12:33:52 +0000375 <style name="AllAppsStyleDefault">
376 <item name="horizontalPadding">16dp</item>
377 </style>
378
Adam Cohenbe258222014-10-24 16:45:59 -0700379</resources>