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 | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 23 | <item name="android:colorBackgroundCacheHint">@null</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 24 | <item name="android:colorEdgeEffect">#FF757575</item> |
Hyunyoung Song | 572c746 | 2019-04-13 02:40:31 -0700 | [diff] [blame] | 25 | <item name="android:windowActionBar">false</item> |
| 26 | <item name="android:windowBackground">@android:color/transparent</item> |
| 27 | <item name="android:windowNoTitle">true</item> |
| 28 | <item name="android:windowShowWallpaper">true</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 29 | </style> |
| 30 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 31 | <style name="LauncherTheme" parent="@style/BaseLauncherTheme"> |
Samuel Fufa | 9915605 | 2020-04-21 13:19:43 -0700 | [diff] [blame] | 32 | <item name="android:textColorSecondary">#DE000000</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 33 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Samuel Fufa | 76b3340 | 2021-05-18 16:15:46 -0500 | [diff] [blame] | 34 | <item name="allappsHeaderProtectionColor">@color/popup_color_tertiary_light</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 35 | <item name="allAppsNavBarScrimColor">#66FFFFFF</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 36 | <item name="allAppsTheme">@style/AllAppsTheme</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 37 | <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 Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 40 | <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 Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 43 | <item name="popupNotificationDotColor">@color/popup_notification_dot_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 44 | <item name="isMainColorDark">false</item> |
| 45 | <item name="isWorkspaceDarkText">false</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 46 | <item name="workspaceTextColor">@color/workspace_text_color_light</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 47 | <item name="workspaceShadowColor">#B0000000</item> |
| 48 | <item name="workspaceAmbientShadowColor">#40000000</item> |
| 49 | <item name="workspaceKeyShadowColor">#89000000</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 50 | <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 51 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Jon Miranda | 9b4448f | 2021-06-08 10:55:58 -0700 | [diff] [blame] | 52 | <item name="folderDotColor">@color/folder_dot_color</item> |
Brian Isganitis | cbaf149 | 2021-08-04 21:45:15 -0400 | [diff] [blame] | 53 | <item name="folderPaginationColor">@color/folder_pagination_color_light</item> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 54 | <item name="folderPreviewColor">@color/folder_preview_light</item> |
| 55 | <item name="folderBackgroundColor">@color/folder_background_light</item> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 56 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Jon Miranda | 5688010 | 2021-06-11 11:21:51 -0700 | [diff] [blame] | 57 | <item name="folderTextColor">@color/workspace_text_color_dark</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 58 | <item name="isFolderDarkText">true</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 59 | <item name="folderHintColor">@color/folder_hint_text_color_dark</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 60 | <item name="loadingIconColor">#CCFFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 61 | <item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 62 | <item name="workProfileOverlayTextColor">#FF212121</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 63 | <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 64 | <item name="disabledIconAlpha">.54</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 65 | <item name="workspaceAccentColor">@color/workspace_accent_color_light</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 66 | <item name="dropTargetHoverTextColor">@color/workspace_text_color_dark</item> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 67 | <item name="overviewScrimColor">@color/overview_scrim</item> |
Brian Isganitis | cd7cc29 | 2022-05-24 15:36:06 -0700 | [diff] [blame] | 68 | <item name="preloadIconAccentColor">@color/preload_icon_accent_color_light</item> |
| 69 | <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_light</item> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 70 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 71 | <item name="android:windowTranslucentStatus">false</item> |
| 72 | <item name="android:windowTranslucentNavigation">false</item> |
| 73 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 74 | <item name="android:statusBarColor">#00000000</item> |
| 75 | <item name="android:navigationBarColor">#00000000</item> |
Samuel Fufa | 8f6d141 | 2020-01-21 09:58:14 -0800 | [diff] [blame] | 76 | |
| 77 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 78 | </style> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 79 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 80 | <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme"> |
Sunny Goyal | d333091 | 2022-05-09 16:11:26 -0700 | [diff] [blame] | 81 | <item name="disabledIconAlpha">.54</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 82 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 83 | </style> |
| 84 | |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 85 | <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 86 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 87 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 88 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 89 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 90 | <item name="isWorkspaceDarkText">true</item> |
| 91 | <item name="workspaceStatusBarScrim">@null</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 92 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
| 93 | <item name="dropTargetHoverTextColor">@color/workspace_text_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 94 | </style> |
| 95 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 96 | <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 97 | <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 Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 100 | <item name="android:textColorHint">#A0FFFFFF</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 101 | <item name="android:colorControlHighlight">#19FFFFFF</item> |
Sunny Goyal | 12f8038 | 2018-05-14 15:57:59 -0700 | [diff] [blame] | 102 | <item name="android:colorPrimary">#FF212121</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 103 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 104 | <item name="allAppsNavBarScrimColor">#80000000</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 105 | <item name="allAppsTheme">@style/AllAppsTheme.Dark</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 106 | <item name="popupColorPrimary">@color/popup_color_primary_dark</item> |
| 107 | <item name="popupColorSecondary">@color/popup_color_secondary_dark</item> |
| 108 | <item name="popupColorTertiary">@color/popup_color_tertiary_dark</item> |
Jon Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 109 | <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 110 | <item name="popupShadeFirst">@color/popup_shade_first_dark</item> |
| 111 | <item name="popupShadeSecond">@color/popup_shade_second_dark</item> |
| 112 | <item name="popupShadeThird">@color/popup_shade_third_dark</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 113 | <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> |
Jon Miranda | 9b4448f | 2021-06-08 10:55:58 -0700 | [diff] [blame] | 114 | <item name="folderDotColor">@color/folder_dot_color</item> |
Brian Isganitis | cbaf149 | 2021-08-04 21:45:15 -0400 | [diff] [blame] | 115 | <item name="folderPaginationColor">@color/folder_pagination_color_dark</item> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 116 | <item name="folderPreviewColor">@color/folder_preview_dark</item> |
| 117 | <item name="folderBackgroundColor">@color/folder_background_dark</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 118 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Jon Miranda | 5688010 | 2021-06-11 11:21:51 -0700 | [diff] [blame] | 119 | <item name="folderTextColor">@color/workspace_text_color_light</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 120 | <item name="isFolderDarkText">false</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 121 | <item name="folderHintColor">@color/folder_hint_text_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 122 | <item name="isMainColorDark">true</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 123 | <item name="loadingIconColor">#99FFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 124 | <item name="iconOnlyShortcutColor">#B3FFFFFF</item> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 125 | <item name="workProfileOverlayTextColor">@android:color/white</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 126 | <item name="eduHalfSheetBGColor">#DD000000</item> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 127 | <item name="overviewScrimColor">@color/overview_scrim_dark</item> |
Brian Isganitis | cd7cc29 | 2022-05-24 15:36:06 -0700 | [diff] [blame] | 128 | <item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item> |
| 129 | <item name="preloadIconBackgroundColor">@color/preload_icon_background_color_dark</item> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 130 | </style> |
| 131 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 132 | <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 133 | <item name="disabledIconAlpha">.54</item> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 134 | </style> |
| 135 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 136 | <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark"> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 137 | <item name="android:colorControlHighlight">#19212121</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 138 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 139 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 140 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 141 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 142 | <item name="isWorkspaceDarkText">true</item> |
| 143 | <item name="workspaceStatusBarScrim">@null</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 144 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
| 145 | <item name="dropTargetHoverTextColor">@color/workspace_text_color_light</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 146 | </style> |
| 147 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 148 | <!-- A derivative project can extend these themes to customize the application theme without |
| 149 | affecting the base theme --> |
| 150 | <style name="AppTheme" parent="@style/LauncherTheme" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 151 | <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 152 | <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 153 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 154 | <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 155 | <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 156 | <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" /> |
| 157 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 158 | <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Schneider Victor-tulias | e845463 | 2021-04-07 14:07:28 -0700 | [diff] [blame] | 159 | <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
Brian Isganitis | 08fdf4d | 2021-05-25 18:02:22 -0400 | [diff] [blame] | 160 | <item name="android:windowActionBar">false</item> |
| 161 | <item name="android:windowNoTitle">true</item> |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 162 | <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 163 | </style> |
| 164 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 165 | <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material"> |
| 166 | <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 167 | </style> |
| 168 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 169 | <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material"> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 170 | <item name="android:layout">@layout/home_settings</item> |
Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 171 | </style> |
| 172 | |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 173 | <!-- |
| 174 | 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] | 175 | Various foreground colors are overridden to be workspaceTextColor so that they are properly |
| 176 | visible on various wallpapers. |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 177 | --> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 178 | <style name="HomeScreenElementTheme"> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 179 | <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item> |
| 180 | <item name="android:textColorPrimary">?attr/workspaceTextColor</item> |
| 181 | <item name="android:textColorSecondary">?attr/workspaceTextColor</item> |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 182 | </style> |
| 183 | |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 184 | <!-- Theme for the widget container. --> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 185 | <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 186 | <item name="android:colorPrimaryDark">#E8EAED</item> |
| 187 | <item name="android:textColorSecondary">?android:attr/textColorPrimary</item> |
| 188 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 189 | </style> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 190 | <style name="WidgetContainerTheme.Dark" parent="AppTheme.Dark"> |
| 191 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
| 192 | <item name="android:colorPrimaryDark">#616161</item> <!-- Gray 700 --> |
| 193 | </style> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 194 | |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 195 | <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 196 | <item name="android:layout_width">wrap_content</item> |
Sunny Goyal | 1a8f6fb | 2017-06-14 15:35:16 -0700 | [diff] [blame] | 197 | <item name="android:minWidth">@dimen/fastscroll_popup_width</item> |
| 198 | <item name="android:layout_height">@dimen/fastscroll_popup_height</item> |
| 199 | <item name="android:textSize">@dimen/fastscroll_popup_text_size</item> |
| 200 | <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 201 | <item name="android:gravity">center</item> |
| 202 | <item name="android:alpha">0</item> |
| 203 | <item name="android:elevation">3dp</item> |
| 204 | <item name="android:saveEnabled">false</item> |
Hyunyoung Song | 3af62c1 | 2021-05-12 00:29:53 -0700 | [diff] [blame] | 205 | <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 206 | <item name="android:includeFontPadding">false</item> |
Sunny Goyal | c82c639 | 2018-06-06 15:39:13 -0700 | [diff] [blame] | 207 | <item name="android:importantForAccessibility">no</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 208 | </style> |
| 209 | |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 210 | <style name="AllAppsTheme"> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 211 | <item name="disabledIconAlpha">.54</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 212 | </style> |
| 213 | |
| 214 | <style name="AllAppsTheme.Dark"> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 215 | <item name="disabledIconAlpha">.54</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 216 | </style> |
| 217 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 218 | <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
| 219 | |
| 220 | <style name="BaseIconUnBounded" parent="BaseIconRoot"> |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 221 | <item name="android:layout_width">match_parent</item> |
| 222 | <item name="android:layout_height">match_parent</item> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 223 | <item name="android:layout_gravity">center</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 224 | <item name="android:focusable">true</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 225 | <item name="android:gravity">center_horizontal</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 226 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Sunny Goyal | c9d3d06 | 2018-03-22 12:18:08 -0700 | [diff] [blame] | 227 | <item name="android:defaultFocusHighlightEnabled">false</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 228 | <!-- No shadows in the base theme --> |
| 229 | <item name="android:shadowRadius">0</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 230 | </style> |
| 231 | |
Samuel Fufa | 980767a | 2020-06-18 16:33:32 -0700 | [diff] [blame] | 232 | <!-- Base theme for BubbleTextView and sub classes --> |
| 233 | <style name="BaseIcon" parent="BaseIconUnBounded"> |
| 234 | <item name="android:lines">1</item> |
| 235 | </style> |
| 236 | |
Samuel Fufa | 314761a | 2020-10-14 10:15:07 -0700 | [diff] [blame] | 237 | <!-- Base theme for AllApps BubbleTextViews --> |
| 238 | <style name="BaseIcon.AllApps" parent="BaseIcon"> |
| 239 | <item name="android:layout_width">match_parent</item> |
| 240 | <item name="android:layout_height">wrap_content</item> |
| 241 | <item name="android:stateListAnimator">@animator/all_apps_fastscroll_icon_anim</item> |
| 242 | <item name="android:paddingLeft">@dimen/dynamic_grid_cell_padding_x</item> |
| 243 | <item name="android:paddingRight">@dimen/dynamic_grid_cell_padding_x</item> |
| 244 | </style> |
| 245 | |
| 246 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 247 | <!-- Icon displayed on the workspace --> |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 248 | <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon"> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 249 | <item name="android:shadowRadius">2.0</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 250 | <item name="android:shadowColor">?attr/workspaceShadowColor</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 251 | <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 252 | <item name="ambientShadowBlur">1.5dp</item> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 253 | <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 254 | <item name="keyShadowBlur">.5dp</item> |
| 255 | <item name="keyShadowOffsetX">.5dp</item> |
| 256 | <item name="keyShadowOffsetY">.5dp</item> |
Tony Wickham | 9438ed4 | 2017-01-20 09:38:25 -0800 | [diff] [blame] | 257 | </style> |
| 258 | |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 259 | <!-- Intentionally empty so we can override --> |
| 260 | <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows"> |
| 261 | </style> |
| 262 | |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 263 | <!-- Theme for the popup container --> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 264 | <style name="PopupItem"> |
| 265 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 266 | </style> |
| 267 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 268 | <!-- Drop targets --> |
Pat Manning | 0b16bba | 2022-07-15 11:53:42 +0100 | [diff] [blame] | 269 | <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium"> |
Steven Ng | a1dcbce | 2021-07-23 17:06:10 +0100 | [diff] [blame] | 270 | <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item> |
Alina Zaidi | 1b5efa3 | 2021-06-30 16:54:14 +0100 | [diff] [blame] | 271 | <item name="android:padding">14dp</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 272 | <item name="android:textColor">@color/drop_target_text</item> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 273 | <item name="android:textSize">@dimen/drop_target_text_size</item> |
Winson Chung | 90576b5 | 2011-09-27 17:45:27 -0700 | [diff] [blame] | 274 | <item name="android:singleLine">true</item> |
| 275 | <item name="android:ellipsize">end</item> |
Yogisha Dixit | 2ff963b | 2021-06-03 10:41:44 +0100 | [diff] [blame] | 276 | <item name="android:background">@drawable/drop_target_background</item> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 277 | </style> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 278 | |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 279 | <style name="DropTargetButton" parent="DropTargetButtonBase" /> |
Mario Bertschler | 93e39ec | 2017-06-09 10:20:17 -0700 | [diff] [blame] | 280 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 281 | <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" /> |
Hyunyoung Song | 05d3e86 | 2021-05-14 00:00:19 -0700 | [diff] [blame] | 282 | |
Samuel Fufa | 0826bc1 | 2020-05-10 14:40:20 -0700 | [diff] [blame] | 283 | <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 284 | |
Hyunyoung Song | 72dae7f | 2019-02-27 16:58:57 -0800 | [diff] [blame] | 285 | <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" /> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 286 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 287 | <style name="Button.TopRounded.Bordered" parent="@android:style/Widget.Material.Button"> |
| 288 | <item name="android:background">@drawable/button_top_rounded_bordered_ripple</item> |
| 289 | <item name="android:stateListAnimator">@null</item> |
| 290 | </style> |
| 291 | |
| 292 | <style name="Button.BottomRounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 293 | <item name="android:background">@drawable/button_bottom_rounded_colored_ripple</item> |
| 294 | <item name="android:stateListAnimator">@null</item> |
| 295 | </style> |
| 296 | |
| 297 | <style name="Button.Rounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 298 | <item name="android:background">@drawable/button_rounded_colored_ripple</item> |
| 299 | <item name="android:stateListAnimator">@null</item> |
| 300 | </style> |
| 301 | |
Alina Zaidi | 8cabe52 | 2021-05-21 17:59:19 +0100 | [diff] [blame] | 302 | <style name="Button.FullRounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 303 | <item name="android:background">@drawable/full_rounded_colored_ripple</item> |
| 304 | <item name="android:stateListAnimator">@null</item> |
| 305 | </style> |
| 306 | |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 307 | <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 308 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Alina Zaidi | 2e4d15d | 2021-06-04 17:41:44 +0100 | [diff] [blame] | 309 | <item name="android:windowLightStatusBar">true</item> |
Alina Zaidi | dfa6aa8 | 2021-06-09 16:41:22 +0100 | [diff] [blame] | 310 | <item name="android:windowTranslucentStatus">true</item> |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 311 | </style> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame^] | 312 | |
| 313 | <style name="FolderDefaultStyle"> |
| 314 | <item name="folderTopPadding">24dp</item> |
| 315 | <item name="folderCellHeight">94dp</item> |
| 316 | <item name="folderCellWidth">80dp</item> |
| 317 | <item name="folderBorderSpace">16dp</item> |
| 318 | <item name="folderFooterHeight">56dp</item> |
| 319 | </style> |
| 320 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 321 | </resources> |