The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?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 Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 21 | <!-- Launcher theme --> |
Sunny Goyal | ad9fb52 | 2019-05-15 14:24:27 -0700 | [diff] [blame] | 22 | <style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light"> |
Sunny Goyal | adb364a | 2022-12-09 12:37:25 -0800 | [diff] [blame] | 23 | <item name="disabledIconAlpha">.54</item> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 24 | <item name="android:colorBackgroundCacheHint">@null</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 25 | <item name="android:colorEdgeEffect">#FF757575</item> |
Hyunyoung Song | 572c746 | 2019-04-13 02:40:31 -0700 | [diff] [blame] | 26 | <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 Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 30 | </style> |
| 31 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 32 | <style name="LauncherTheme" parent="@style/BaseLauncherTheme"> |
Samuel Fufa | 9915605 | 2020-04-21 13:19:43 -0700 | [diff] [blame] | 33 | <item name="android:textColorSecondary">#DE000000</item> |
Marcelo Arteiro | ecff4b5 | 2023-05-09 13:48:38 +0000 | [diff] [blame] | 34 | <item name="allAppsScrimColor">?attr/materialColorSurfaceDim</item> |
Brandon Dayauon | 4e3be7a | 2023-08-17 14:55:47 -0700 | [diff] [blame] | 35 | <item name="allappsHeaderProtectionColor"> |
| 36 | @color/material_color_surface_container_highest</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 37 | <item name="allAppsNavBarScrimColor">#66FFFFFF</item> |
Michael Bestas | d3a22c0 | 2022-01-19 23:24:39 +0200 | [diff] [blame] | 38 | <item name="allAppsSearchTextColor">@color/widget_picker_search_text_color_light</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 39 | <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> |
fbaron | 1a76d5c | 2023-05-10 16:29:17 -0700 | [diff] [blame] | 42 | <item name="popupColorBackground">#EFEDED</item> |
| 43 | <item name="popupTextColor">@color/popup_text_color_light</item> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 44 | <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 Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 47 | <item name="popupNotificationDotColor">@color/popup_notification_dot_light</item> |
fbaron | 1406a0f | 2023-05-11 08:46:46 -0700 | [diff] [blame] | 48 | <item name="notificationDotColor">@color/notification_dot_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 49 | <item name="isMainColorDark">false</item> |
| 50 | <item name="isWorkspaceDarkText">false</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 51 | <item name="workspaceTextColor">@color/workspace_text_color_light</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 52 | <item name="workspaceShadowColor">#B0000000</item> |
| 53 | <item name="workspaceAmbientShadowColor">#40000000</item> |
| 54 | <item name="workspaceKeyShadowColor">#89000000</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 55 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Sunny Goyal | 5cd1b19 | 2023-04-06 22:33:11 +0000 | [diff] [blame] | 56 | <item name="folderPaginationColor">@color/folder_pagination_color_light</item> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 57 | <item name="folderPreviewColor">@color/folder_preview_light</item> |
| 58 | <item name="folderBackgroundColor">@color/folder_background_light</item> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 59 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 60 | <item name="isFolderDarkText">true</item> |
fbaron | 8463f6a | 2023-05-12 13:41:07 -0700 | [diff] [blame] | 61 | <item name="folderTextColor">@color/folder_text_color_light</item> |
| 62 | <item name="folderHintTextColor">@color/folder_hint_text_color_light</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 63 | <item name="loadingIconColor">#CCFFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 64 | <item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 65 | <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 66 | <item name="workspaceAccentColor">@color/workspace_accent_color_light</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame] | 67 | <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 Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 70 | <item name="overviewScrimColor">@color/overview_scrim</item> |
Brian Isganitis | cd7cc29 | 2022-05-24 15:36:06 -0700 | [diff] [blame] | 71 | <item name="preloadIconAccentColor">@color/preload_icon_accent_color_light</item> |
| 72 | <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_light</item> |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 73 | <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 Desai | c6d625b | 2023-04-03 16:57:32 -0700 | [diff] [blame] | 78 | <item name="android:switchStyle">@style/SwitchStyle</item> |
Marcelo Arteiro | ecff4b5 | 2023-05-09 13:48:38 +0000 | [diff] [blame] | 79 | |
| 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 Desai | c6d625b | 2023-04-03 16:57:32 -0700 | [diff] [blame] | 124 | </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 Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 131 | </style> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 132 | |
Sunny Goyal | adb364a | 2022-12-09 12:37:25 -0800 | [diff] [blame] | 133 | <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 134 | |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 135 | <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 136 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 137 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 138 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 139 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 140 | <item name="isWorkspaceDarkText">true</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 141 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame] | 142 | <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item> |
| 143 | <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 144 | </style> |
| 145 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 146 | <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 147 | <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 Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 150 | <item name="android:textColorHint">#A0FFFFFF</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 151 | <item name="android:colorControlHighlight">#19FFFFFF</item> |
Sunny Goyal | 12f8038 | 2018-05-14 15:57:59 -0700 | [diff] [blame] | 152 | <item name="android:colorPrimary">#FF212121</item> |
Marcelo Arteiro | ecff4b5 | 2023-05-09 13:48:38 +0000 | [diff] [blame] | 153 | <item name="allAppsScrimColor">?attr/materialColorSurfaceDim</item> |
Brandon Dayauon | 4e3be7a | 2023-08-17 14:55:47 -0700 | [diff] [blame] | 154 | <item name="allappsHeaderProtectionColor">@color/material_color_surface_container_low</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 155 | <item name="allAppsNavBarScrimColor">#80000000</item> |
Michael Bestas | d3a22c0 | 2022-01-19 23:24:39 +0200 | [diff] [blame] | 156 | <item name="allAppsSearchTextColor">@color/widget_picker_search_text_color_dark</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 157 | <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> |
fbaron | 1a76d5c | 2023-05-10 16:29:17 -0700 | [diff] [blame] | 160 | <item name="popupColorBackground">#1F2020</item> |
| 161 | <item name="popupTextColor">@color/popup_text_color_dark</item> |
Jon Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 162 | <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 163 | <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> |
fbaron | 1406a0f | 2023-05-11 08:46:46 -0700 | [diff] [blame] | 166 | <item name="notificationDotColor">@color/notification_dot_color_dark</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 167 | <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> |
Sunny Goyal | 5cd1b19 | 2023-04-06 22:33:11 +0000 | [diff] [blame] | 168 | <item name="folderPaginationColor">@color/folder_pagination_color_dark</item> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 169 | <item name="folderPreviewColor">@color/folder_preview_dark</item> |
| 170 | <item name="folderBackgroundColor">@color/folder_background_dark</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 171 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 172 | <item name="isFolderDarkText">false</item> |
fbaron | 8463f6a | 2023-05-12 13:41:07 -0700 | [diff] [blame] | 173 | <item name="folderTextColor">@color/folder_text_color_dark</item> |
| 174 | <item name="folderHintTextColor">@color/folder_hint_text_color_dark</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 175 | <item name="isMainColorDark">true</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 176 | <item name="loadingIconColor">#99FFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 177 | <item name="iconOnlyShortcutColor">#B3FFFFFF</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 178 | <item name="eduHalfSheetBGColor">#DD000000</item> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 179 | <item name="overviewScrimColor">@color/overview_scrim_dark</item> |
Brian Isganitis | cd7cc29 | 2022-05-24 15:36:06 -0700 | [diff] [blame] | 180 | <item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item> |
| 181 | <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_dark</item> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 182 | </style> |
| 183 | |
Sunny Goyal | adb364a | 2022-12-09 12:37:25 -0800 | [diff] [blame] | 184 | <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"/> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 185 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 186 | <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark"> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 187 | <item name="android:colorControlHighlight">#19212121</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 188 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 189 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 190 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 191 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 192 | <item name="isWorkspaceDarkText">true</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 193 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame] | 194 | <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item> |
| 195 | <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 196 | </style> |
| 197 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 198 | <!-- 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 Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 201 | <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 202 | <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 203 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 204 | <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 205 | <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 206 | <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" /> |
| 207 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 208 | <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Schneider Victor-tulias | e845463 | 2021-04-07 14:07:28 -0700 | [diff] [blame] | 209 | <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
Brian Isganitis | 08fdf4d | 2021-05-25 18:02:22 -0400 | [diff] [blame] | 210 | <item name="android:windowActionBar">false</item> |
| 211 | <item name="android:windowNoTitle">true</item> |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 212 | <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 213 | </style> |
| 214 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 215 | <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material"> |
| 216 | <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 217 | </style> |
| 218 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 219 | <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material"> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 220 | <item name="android:layout">@layout/home_settings</item> |
Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 221 | </style> |
| 222 | |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 223 | <!-- |
| 224 | Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper. |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 225 | Various foreground colors are overridden to be workspaceTextColor so that they are properly |
| 226 | visible on various wallpapers. |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 227 | --> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 228 | <style name="HomeScreenElementTheme"> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 229 | <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item> |
| 230 | <item name="android:textColorPrimary">?attr/workspaceTextColor</item> |
| 231 | <item name="android:textColorSecondary">?attr/workspaceTextColor</item> |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 232 | </style> |
| 233 | |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 234 | <!-- Theme for the widget container. --> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 235 | <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 236 | <item name="android:colorPrimaryDark">#E8EAED</item> |
| 237 | <item name="android:textColorSecondary">?android:attr/textColorPrimary</item> |
| 238 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 239 | <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 Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 265 | </style> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 266 | <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 --> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 269 | <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 Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 296 | </style> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 297 | |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 298 | <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 299 | <item name="android:layout_width">wrap_content</item> |
Sunny Goyal | 1a8f6fb | 2017-06-14 15:35:16 -0700 | [diff] [blame] | 300 | <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 Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 304 | <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 Song | 3af62c1 | 2021-05-12 00:29:53 -0700 | [diff] [blame] | 308 | <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 309 | <item name="android:includeFontPadding">false</item> |
Sunny Goyal | c82c639 | 2018-06-06 15:39:13 -0700 | [diff] [blame] | 310 | <item name="android:importantForAccessibility">no</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 311 | </style> |
| 312 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 313 | <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
| 314 | |
| 315 | <style name="BaseIconUnBounded" parent="BaseIconRoot"> |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 316 | <item name="android:layout_width">match_parent</item> |
| 317 | <item name="android:layout_height">match_parent</item> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 318 | <item name="android:layout_gravity">center</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 319 | <item name="android:focusable">true</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 320 | <item name="android:gravity">center_horizontal</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 321 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Sunny Goyal | c9d3d06 | 2018-03-22 12:18:08 -0700 | [diff] [blame] | 322 | <item name="android:defaultFocusHighlightEnabled">false</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 323 | <!-- No shadows in the base theme --> |
| 324 | <item name="android:shadowRadius">0</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 325 | </style> |
| 326 | |
Samuel Fufa | 980767a | 2020-06-18 16:33:32 -0700 | [diff] [blame] | 327 | <!-- Base theme for BubbleTextView and sub classes --> |
| 328 | <style name="BaseIcon" parent="BaseIconUnBounded"> |
| 329 | <item name="android:lines">1</item> |
| 330 | </style> |
| 331 | |
Samuel Fufa | 314761a | 2020-10-14 10:15:07 -0700 | [diff] [blame] | 332 | <!-- 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 Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 342 | <!-- Icon displayed on the workspace --> |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 343 | <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon"> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 344 | <item name="android:shadowRadius">2.0</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 345 | <item name="android:shadowColor">?attr/workspaceShadowColor</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 346 | <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 347 | <item name="ambientShadowBlur">1.5dp</item> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 348 | <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 349 | <item name="keyShadowBlur">.5dp</item> |
| 350 | <item name="keyShadowOffsetX">.5dp</item> |
| 351 | <item name="keyShadowOffsetY">.5dp</item> |
Tony Wickham | 9438ed4 | 2017-01-20 09:38:25 -0800 | [diff] [blame] | 352 | </style> |
| 353 | |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 354 | <!-- Intentionally empty so we can override --> |
| 355 | <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows"> |
| 356 | </style> |
| 357 | |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 358 | <!-- Theme for the popup container --> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 359 | <style name="PopupItem"> |
| 360 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 361 | </style> |
| 362 | |
Charlie Anderson | 63be5b5 | 2023-03-06 13:03:11 -0500 | [diff] [blame] | 363 | <style name="PopupItemIconOnly"> |
| 364 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
| 365 | <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item> |
| 366 | </style> |
| 367 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 368 | <!-- Drop targets --> |
Pat Manning | 0b16bba | 2022-07-15 11:53:42 +0100 | [diff] [blame] | 369 | <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium"> |
Steven Ng | a1dcbce | 2021-07-23 17:06:10 +0100 | [diff] [blame] | 370 | <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item> |
Alina Zaidi | 1b5efa3 | 2021-06-30 16:54:14 +0100 | [diff] [blame] | 371 | <item name="android:padding">14dp</item> |
Jordan Silva | 567372f | 2023-03-28 00:33:08 +0100 | [diff] [blame] | 372 | <item name="android:includeFontPadding">false</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 373 | <item name="android:textColor">@color/drop_target_text</item> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 374 | <item name="android:textSize">@dimen/drop_target_text_size</item> |
Winson Chung | 90576b5 | 2011-09-27 17:45:27 -0700 | [diff] [blame] | 375 | <item name="android:singleLine">true</item> |
| 376 | <item name="android:ellipsize">end</item> |
Yogisha Dixit | 2ff963b | 2021-06-03 10:41:44 +0100 | [diff] [blame] | 377 | <item name="android:background">@drawable/drop_target_background</item> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 378 | </style> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 379 | |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 380 | <style name="DropTargetButton" parent="DropTargetButtonBase" /> |
Mario Bertschler | 93e39ec | 2017-06-09 10:20:17 -0700 | [diff] [blame] | 381 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 382 | <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" /> |
Hyunyoung Song | 05d3e86 | 2021-05-14 00:00:19 -0700 | [diff] [blame] | 383 | |
Samuel Fufa | 0826bc1 | 2020-05-10 14:40:20 -0700 | [diff] [blame] | 384 | <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 385 | |
Hyunyoung Song | 72dae7f | 2019-02-27 16:58:57 -0800 | [diff] [blame] | 386 | <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" /> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 387 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 388 | <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 Zaidi | 8cabe52 | 2021-05-21 17:59:19 +0100 | [diff] [blame] | 403 | <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 Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 408 | <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 409 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Alina Zaidi | 2e4d15d | 2021-06-04 17:41:44 +0100 | [diff] [blame] | 410 | <item name="android:windowLightStatusBar">true</item> |
Alina Zaidi | dfa6aa8 | 2021-06-09 16:41:22 +0100 | [diff] [blame] | 411 | <item name="android:windowTranslucentStatus">true</item> |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 412 | </style> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 413 | |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 414 | <style name="FolderStyleDefault"> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 415 | <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 Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 422 | <style name="CellStyleDefault"> |
| 423 | <item name="iconDrawablePadding">7dp</item> |
| 424 | </style> |
| 425 | |
Thales Lima | e9273ea | 2023-01-26 12:33:52 +0000 | [diff] [blame] | 426 | <style name="AllAppsStyleDefault"> |
| 427 | <item name="horizontalPadding">16dp</item> |
| 428 | </style> |
| 429 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 430 | </resources> |