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> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 34 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Samuel Fufa | 76b3340 | 2021-05-18 16:15:46 -0500 | [diff] [blame] | 35 | <item name="allappsHeaderProtectionColor">@color/popup_color_tertiary_light</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 36 | <item name="allAppsNavBarScrimColor">#66FFFFFF</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> |
fbaron | 1406a0f | 2023-05-11 08:46:46 -0700 | [diff] [blame] | 44 | <item name="notificationDotColor">@color/notification_dot_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 45 | <item name="isMainColorDark">false</item> |
| 46 | <item name="isWorkspaceDarkText">false</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 47 | <item name="workspaceTextColor">@color/workspace_text_color_light</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 48 | <item name="workspaceShadowColor">#B0000000</item> |
| 49 | <item name="workspaceAmbientShadowColor">#40000000</item> |
| 50 | <item name="workspaceKeyShadowColor">#89000000</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 51 | <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 52 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Sunny Goyal | 5cd1b19 | 2023-04-06 22:33:11 +0000 | [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> |
Federico Baron | 79a9bfe | 2023-01-26 12:02:36 -0800 | [diff] [blame] | 57 | <item name="folderTextColor">?android:attr/textColorPrimary</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 | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 62 | <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 63 | <item name="workspaceAccentColor">@color/workspace_accent_color_light</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame^] | 64 | <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 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 | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 70 | <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 Desai | c6d625b | 2023-04-03 16:57:32 -0700 | [diff] [blame] | 75 | <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 Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 83 | </style> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 84 | |
Sunny Goyal | adb364a | 2022-12-09 12:37:25 -0800 | [diff] [blame] | 85 | <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 86 | |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 87 | <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 88 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 89 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 90 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 91 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 92 | <item name="isWorkspaceDarkText">true</item> |
| 93 | <item name="workspaceStatusBarScrim">@null</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 94 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame^] | 95 | <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item> |
| 96 | <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 97 | </style> |
| 98 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 99 | <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 100 | <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 Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 103 | <item name="android:textColorHint">#A0FFFFFF</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 104 | <item name="android:colorControlHighlight">#19FFFFFF</item> |
Sunny Goyal | 12f8038 | 2018-05-14 15:57:59 -0700 | [diff] [blame] | 105 | <item name="android:colorPrimary">#FF212121</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 106 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 107 | <item name="allAppsNavBarScrimColor">#80000000</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 108 | <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 Miranda | 313b2c2 | 2021-06-17 12:35:43 -0700 | [diff] [blame] | 111 | <item name="popupNotificationDotColor">@color/popup_notification_dot_dark</item> |
Jon Miranda | 6a936e3 | 2021-06-24 10:58:56 -0700 | [diff] [blame] | 112 | <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> |
fbaron | 1406a0f | 2023-05-11 08:46:46 -0700 | [diff] [blame] | 115 | <item name="notificationDotColor">@color/notification_dot_color_dark</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 116 | <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> |
Sunny Goyal | 5cd1b19 | 2023-04-06 22:33:11 +0000 | [diff] [blame] | 117 | <item name="folderPaginationColor">@color/folder_pagination_color_dark</item> |
Jon Miranda | b77878e | 2021-10-06 16:57:33 -0700 | [diff] [blame] | 118 | <item name="folderPreviewColor">@color/folder_preview_dark</item> |
| 119 | <item name="folderBackgroundColor">@color/folder_background_dark</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 120 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 121 | <item name="isFolderDarkText">false</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 122 | <item name="folderHintColor">@color/folder_hint_text_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 123 | <item name="isMainColorDark">true</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 124 | <item name="loadingIconColor">#99FFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 125 | <item name="iconOnlyShortcutColor">#B3FFFFFF</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 | |
Sunny Goyal | adb364a | 2022-12-09 12:37:25 -0800 | [diff] [blame] | 132 | <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"/> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 133 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 134 | <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark"> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 135 | <item name="android:colorControlHighlight">#19212121</item> |
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> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 140 | <item name="isWorkspaceDarkText">true</item> |
| 141 | <item name="workspaceStatusBarScrim">@null</item> |
Yogisha Dixit | 2046730 | 2021-07-16 15:04:33 +0100 | [diff] [blame] | 142 | <item name="workspaceAccentColor">@color/workspace_accent_color_dark</item> |
fbaron | e8efdc4 | 2023-05-16 16:57:19 -0700 | [diff] [blame^] | 143 | <item name="dropTargetHoverTextColor">@color/drop_target_hover_text_color_dark</item> |
| 144 | <item name="dropTargetHoverButtonColor">@color/drop_target_hover_button_color_dark</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 145 | </style> |
| 146 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 147 | <!-- 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 Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 150 | <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 151 | <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 152 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 153 | <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 154 | <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" /> |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 155 | <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" /> |
| 156 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 157 | <style name="HomeSettings.Theme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Schneider Victor-tulias | e845463 | 2021-04-07 14:07:28 -0700 | [diff] [blame] | 158 | <item name="android:navigationBarColor">?android:colorPrimaryDark</item> |
Brian Isganitis | 08fdf4d | 2021-05-25 18:02:22 -0400 | [diff] [blame] | 159 | <item name="android:windowActionBar">false</item> |
| 160 | <item name="android:windowNoTitle">true</item> |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 161 | <item name="preferenceTheme">@style/HomeSettings.PreferenceTheme</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 162 | </style> |
| 163 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 164 | <style name="HomeSettings.PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material"> |
| 165 | <item name="preferenceFragmentCompatStyle">@style/HomeSettings.FragmentCompatStyle</item> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 166 | </style> |
| 167 | |
Brian Isganitis | 93031bc | 2021-06-09 16:34:45 -0400 | [diff] [blame] | 168 | <style name="HomeSettings.FragmentCompatStyle" parent="@style/PreferenceFragment.Material"> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 169 | <item name="android:layout">@layout/home_settings</item> |
Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 170 | </style> |
| 171 | |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 172 | <!-- |
| 173 | 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] | 174 | Various foreground colors are overridden to be workspaceTextColor so that they are properly |
| 175 | visible on various wallpapers. |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 176 | --> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 177 | <style name="HomeScreenElementTheme"> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 178 | <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item> |
| 179 | <item name="android:textColorPrimary">?attr/workspaceTextColor</item> |
| 180 | <item name="android:textColorSecondary">?attr/workspaceTextColor</item> |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 181 | </style> |
| 182 | |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 183 | <!-- Theme for the widget container. --> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 184 | <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 185 | <item name="android:colorPrimaryDark">#E8EAED</item> |
| 186 | <item name="android:textColorSecondary">?android:attr/textColorPrimary</item> |
| 187 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 188 | <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 Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 214 | </style> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 215 | <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 --> |
fbaron | 328ca38 | 2023-04-13 20:17:15 -0700 | [diff] [blame] | 218 | <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 Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 245 | </style> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 246 | |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 247 | <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 248 | <item name="android:layout_width">wrap_content</item> |
Sunny Goyal | 1a8f6fb | 2017-06-14 15:35:16 -0700 | [diff] [blame] | 249 | <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 Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 253 | <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 Song | 3af62c1 | 2021-05-12 00:29:53 -0700 | [diff] [blame] | 257 | <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 258 | <item name="android:includeFontPadding">false</item> |
Sunny Goyal | c82c639 | 2018-06-06 15:39:13 -0700 | [diff] [blame] | 259 | <item name="android:importantForAccessibility">no</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 260 | </style> |
| 261 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 262 | <style name="BaseIconRoot" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
| 263 | |
| 264 | <style name="BaseIconUnBounded" parent="BaseIconRoot"> |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 265 | <item name="android:layout_width">match_parent</item> |
| 266 | <item name="android:layout_height">match_parent</item> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 267 | <item name="android:layout_gravity">center</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 268 | <item name="android:focusable">true</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 269 | <item name="android:gravity">center_horizontal</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 270 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Sunny Goyal | c9d3d06 | 2018-03-22 12:18:08 -0700 | [diff] [blame] | 271 | <item name="android:defaultFocusHighlightEnabled">false</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 272 | <!-- No shadows in the base theme --> |
| 273 | <item name="android:shadowRadius">0</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 274 | </style> |
| 275 | |
Samuel Fufa | 980767a | 2020-06-18 16:33:32 -0700 | [diff] [blame] | 276 | <!-- Base theme for BubbleTextView and sub classes --> |
| 277 | <style name="BaseIcon" parent="BaseIconUnBounded"> |
| 278 | <item name="android:lines">1</item> |
| 279 | </style> |
| 280 | |
Samuel Fufa | 314761a | 2020-10-14 10:15:07 -0700 | [diff] [blame] | 281 | <!-- 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 Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 291 | <!-- Icon displayed on the workspace --> |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 292 | <style name="BaseIcon.Workspace.Shadows" parent="BaseIcon"> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 293 | <item name="android:shadowRadius">2.0</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 294 | <item name="android:shadowColor">?attr/workspaceShadowColor</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 295 | <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 296 | <item name="ambientShadowBlur">1.5dp</item> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 297 | <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item> |
James O'Leary | dac75ae | 2022-05-31 21:12:38 +0000 | [diff] [blame] | 298 | <item name="keyShadowBlur">.5dp</item> |
| 299 | <item name="keyShadowOffsetX">.5dp</item> |
| 300 | <item name="keyShadowOffsetY">.5dp</item> |
Tony Wickham | 9438ed4 | 2017-01-20 09:38:25 -0800 | [diff] [blame] | 301 | </style> |
| 302 | |
Jon Miranda | 2d35d4b | 2021-05-27 18:55:15 -0700 | [diff] [blame] | 303 | <!-- Intentionally empty so we can override --> |
| 304 | <style name="BaseIcon.Workspace" parent="BaseIcon.Workspace.Shadows"> |
| 305 | </style> |
| 306 | |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 307 | <!-- Theme for the popup container --> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 308 | <style name="PopupItem"> |
| 309 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 310 | </style> |
| 311 | |
Charlie Anderson | 63be5b5 | 2023-03-06 13:03:11 -0500 | [diff] [blame] | 312 | <style name="PopupItemIconOnly"> |
| 313 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
| 314 | <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item> |
| 315 | </style> |
| 316 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 317 | <!-- Drop targets --> |
Pat Manning | 0b16bba | 2022-07-15 11:53:42 +0100 | [diff] [blame] | 318 | <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault.Medium"> |
Steven Ng | a1dcbce | 2021-07-23 17:06:10 +0100 | [diff] [blame] | 319 | <item name="android:drawablePadding">@dimen/drop_target_button_drawable_padding</item> |
Alina Zaidi | 1b5efa3 | 2021-06-30 16:54:14 +0100 | [diff] [blame] | 320 | <item name="android:padding">14dp</item> |
Jordan Silva | 567372f | 2023-03-28 00:33:08 +0100 | [diff] [blame] | 321 | <item name="android:includeFontPadding">false</item> |
Yogisha Dixit | c0ac1dd | 2021-05-29 00:26:25 +0100 | [diff] [blame] | 322 | <item name="android:textColor">@color/drop_target_text</item> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 323 | <item name="android:textSize">@dimen/drop_target_text_size</item> |
Winson Chung | 90576b5 | 2011-09-27 17:45:27 -0700 | [diff] [blame] | 324 | <item name="android:singleLine">true</item> |
| 325 | <item name="android:ellipsize">end</item> |
Yogisha Dixit | 2ff963b | 2021-06-03 10:41:44 +0100 | [diff] [blame] | 326 | <item name="android:background">@drawable/drop_target_background</item> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 327 | </style> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 328 | |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 329 | <style name="DropTargetButton" parent="DropTargetButtonBase" /> |
Mario Bertschler | 93e39ec | 2017-06-09 10:20:17 -0700 | [diff] [blame] | 330 | |
Jon Miranda | a7783fd | 2021-06-15 14:47:30 -0700 | [diff] [blame] | 331 | <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" /> |
Hyunyoung Song | 05d3e86 | 2021-05-14 00:00:19 -0700 | [diff] [blame] | 332 | |
Samuel Fufa | 0826bc1 | 2020-05-10 14:40:20 -0700 | [diff] [blame] | 333 | <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 334 | |
Hyunyoung Song | 72dae7f | 2019-02-27 16:58:57 -0800 | [diff] [blame] | 335 | <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" /> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 336 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 337 | <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 Zaidi | 8cabe52 | 2021-05-21 17:59:19 +0100 | [diff] [blame] | 352 | <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 Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 357 | <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 358 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Alina Zaidi | 2e4d15d | 2021-06-04 17:41:44 +0100 | [diff] [blame] | 359 | <item name="android:windowLightStatusBar">true</item> |
Alina Zaidi | dfa6aa8 | 2021-06-09 16:41:22 +0100 | [diff] [blame] | 360 | <item name="android:windowTranslucentStatus">true</item> |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 361 | </style> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 362 | |
Thales Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 363 | <style name="FolderStyleDefault"> |
Thales Lima | b35faed | 2022-09-05 16:30:01 -0300 | [diff] [blame] | 364 | <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 Lima | d852d65 | 2023-01-17 14:01:13 +0000 | [diff] [blame] | 371 | <style name="CellStyleDefault"> |
| 372 | <item name="iconDrawablePadding">7dp</item> |
| 373 | </style> |
| 374 | |
Thales Lima | e9273ea | 2023-01-26 12:33:52 +0000 | [diff] [blame] | 375 | <style name="AllAppsStyleDefault"> |
| 376 | <item name="horizontalPadding">16dp</item> |
| 377 | </style> |
| 378 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 379 | </resources> |