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> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 29 | <item name="folderTextColor">?attr/workspaceTextColor</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 30 | <item name="isFolderDarkText">?attr/isWorkspaceDarkText</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 31 | </style> |
| 32 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 33 | <style name="LauncherTheme" parent="@style/BaseLauncherTheme"> |
Samuel Fufa | 9915605 | 2020-04-21 13:19:43 -0700 | [diff] [blame] | 34 | <item name="android:textColorSecondary">#DE000000</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 35 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Samuel Fufa | 76b3340 | 2021-05-18 16:15:46 -0500 | [diff] [blame] | 36 | <item name="allappsHeaderProtectionColor">@color/popup_color_tertiary_light</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 37 | <item name="allAppsNavBarScrimColor">#66FFFFFF</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 38 | <item name="allAppsTheme">@style/AllAppsTheme</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> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 42 | <item name="isMainColorDark">false</item> |
| 43 | <item name="isWorkspaceDarkText">false</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 44 | <item name="workspaceTextColor">@color/workspace_text_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 45 | <item name="workspaceShadowColor">#B0000000</item> |
Shan Huang | 4cbe517 | 2021-05-11 22:28:49 +0800 | [diff] [blame] | 46 | <item name="workspaceAmbientShadowColor">#40000000</item> |
Shan Huang | 5620c75 | 2021-04-16 21:33:39 +0800 | [diff] [blame] | 47 | <item name="workspaceKeyShadowColor">#89000000</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 48 | <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 49 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame] | 50 | <item name="folderDotColor">?android:attr/colorPrimary</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 51 | <item name="folderFillColor">?android:attr/colorBackground</item> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 52 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 53 | <item name="folderTextColor">?android:attr/textColorPrimary</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 54 | <item name="isFolderDarkText">true</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 55 | <item name="folderHintColor">@color/folder_hint_text_color_dark</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 56 | <item name="loadingIconColor">#CCFFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 57 | <item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 58 | <item name="workProfileOverlayTextColor">#FF212121</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 59 | <item name="eduHalfSheetBGColor">?android:attr/colorAccent</item> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 60 | <item name="disabledIconAlpha">.54</item> |
Adam Cohen | f7ca3b4 | 2021-02-22 11:03:58 -0800 | [diff] [blame] | 61 | <item name="gridColor">?android:attr/colorAccent</item> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 62 | <item name="overviewScrimColor">@color/overview_scrim</item> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 63 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 64 | <item name="android:windowTranslucentStatus">false</item> |
| 65 | <item name="android:windowTranslucentNavigation">false</item> |
| 66 | <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| 67 | <item name="android:statusBarColor">#00000000</item> |
| 68 | <item name="android:navigationBarColor">#00000000</item> |
Samuel Fufa | 8f6d141 | 2020-01-21 09:58:14 -0800 | [diff] [blame] | 69 | |
| 70 | |
Sunny Goyal | 367f219 | 2018-10-17 11:24:48 -0700 | [diff] [blame] | 71 | </style> |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 72 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 73 | <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme"> |
| 74 | <item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 --> |
| 75 | <item name="folderTextColor">?attr/workspaceTextColor</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 76 | <item name="isFolderDarkText">?attr/isWorkspaceDarkText</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 77 | <item name="folderHintColor">@color/folder_hint_text_color_dark</item> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 78 | <item name="disabledIconAlpha">.254</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 79 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 80 | </style> |
| 81 | |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 82 | <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 83 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 84 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 85 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 86 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
| 87 | <item name="isWorkspaceDarkText">true</item> |
| 88 | <item name="workspaceStatusBarScrim">@null</item> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 89 | <item name="folderDotColor">#FF464646</item> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 90 | <item name="folderFillColor">#CDFFFFFF</item> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 91 | <item name="folderIconBorderColor">#FF80868B</item> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 92 | <item name="folderTextColor">?attr/workspaceTextColor</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 93 | <item name="isFolderDarkText">true</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 94 | <item name="folderHintColor">@color/folder_hint_text_color_dark</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 95 | </style> |
| 96 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 97 | <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 98 | <item name="android:textColorPrimary">@color/text_color_primary_dark</item> |
| 99 | <item name="android:textColorSecondary">@color/text_color_secondary_dark</item> |
| 100 | <item name="android:textColorTertiary">@color/text_color_tertiary_dark</item> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 101 | <item name="android:textColorHint">#A0FFFFFF</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 102 | <item name="android:colorControlHighlight">#19FFFFFF</item> |
Sunny Goyal | 12f8038 | 2018-05-14 15:57:59 -0700 | [diff] [blame] | 103 | <item name="android:colorPrimary">#FF212121</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 104 | <item name="allAppsScrimColor">?android:attr/colorBackgroundFloating</item> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 105 | <item name="allAppsNavBarScrimColor">#80000000</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 106 | <item name="allAppsTheme">@style/AllAppsTheme.Dark</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 107 | <item name="popupColorPrimary">@color/popup_color_primary_dark</item> |
| 108 | <item name="popupColorSecondary">@color/popup_color_secondary_dark</item> |
| 109 | <item name="popupColorTertiary">@color/popup_color_tertiary_dark</item> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 110 | <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> |
Lucas Dupin | 29cd327 | 2021-01-26 15:06:11 -0800 | [diff] [blame] | 111 | <item name="folderDotColor">?android:attr/colorPrimary</item> |
| 112 | <item name="folderFillColor">?android:attr/colorBackground</item> |
| 113 | <item name="folderIconBorderColor">?android:attr/colorPrimary</item> |
| 114 | <item name="folderTextColor">?android:attr/textColorPrimary</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 115 | <item name="isFolderDarkText">false</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 116 | <item name="folderHintColor">@color/folder_hint_text_color_light</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 117 | <item name="isMainColorDark">true</item> |
Sunny Goyal | 577bc6b | 2019-04-04 14:50:29 -0700 | [diff] [blame] | 118 | <item name="loadingIconColor">#99FFFFFF</item> |
Samuel Fufa | 07919c6 | 2020-04-14 17:37:44 -0700 | [diff] [blame] | 119 | <item name="iconOnlyShortcutColor">#B3FFFFFF</item> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 120 | <item name="workProfileOverlayTextColor">@android:color/white</item> |
Samuel Fufa | 1012fd2 | 2020-05-07 15:18:05 -0700 | [diff] [blame] | 121 | <item name="eduHalfSheetBGColor">#DD000000</item> |
Zak Cohen | 4d35ac3 | 2021-04-23 16:28:12 -0700 | [diff] [blame] | 122 | <item name="overviewScrimColor">@color/overview_scrim_dark</item> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 123 | </style> |
| 124 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 125 | <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"> |
| 126 | <item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 --> |
| 127 | <item name="folderTextColor">@android:color/white</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 128 | <item name="isFolderDarkText">false</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 129 | <item name="folderHintColor">@color/folder_hint_text_color_light</item> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 130 | <item name="disabledIconAlpha">.54</item> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 131 | </style> |
| 132 | |
Sunny Goyal | bd88f39 | 2018-06-07 15:42:57 -0700 | [diff] [blame] | 133 | <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark"> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 134 | <item name="android:colorControlHighlight">#19212121</item> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 135 | <item name="folderFillColor">#CDFFFFFF</item> |
| 136 | <item name="folderTextColor">?attr/workspaceTextColor</item> |
Jon Miranda | 7bbd031 | 2021-05-11 17:01:13 -0700 | [diff] [blame] | 137 | <item name="isFolderDarkText">?attr/isWorkspaceDarkText</item> |
Jon Miranda | e310468 | 2021-05-18 11:14:14 -0700 | [diff] [blame] | 138 | <item name="folderHintColor">@color/folder_hint_text_color_dark</item> |
Lucas Dupin | 993fed2 | 2021-02-04 15:40:45 -0800 | [diff] [blame] | 139 | <item name="workspaceTextColor">@color/workspace_text_color_dark</item> |
Sunny Goyal | a6afdff | 2018-05-24 13:49:57 -0700 | [diff] [blame] | 140 | <item name="workspaceShadowColor">@android:color/transparent</item> |
| 141 | <item name="workspaceAmbientShadowColor">@android:color/transparent</item> |
| 142 | <item name="workspaceKeyShadowColor">@android:color/transparent</item> |
| 143 | <item name="isWorkspaceDarkText">true</item> |
| 144 | <item name="workspaceStatusBarScrim">@null</item> |
| 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 | |
Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 157 | <style name="HomeSettingsTheme" 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> |
alexmang | 457ae09 | 2020-07-18 14:34:12 -0700 | [diff] [blame] | 159 | <item name="preferenceTheme">@style/HomeSettingsPreferenceTheme</item> |
| 160 | </style> |
| 161 | |
| 162 | <style name="HomeSettingsPreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material"> |
| 163 | <item name="preferenceFragmentCompatStyle">@style/HomeSettingsFragmentCompatStyle</item> |
| 164 | </style> |
| 165 | |
| 166 | <style name="HomeSettingsFragmentCompatStyle" parent="@style/PreferenceFragment.Material"> |
| 167 | <item name="android:layout">@layout/home_settings</item> |
Samuel Fufa | 9fee045 | 2019-11-12 16:49:21 -0800 | [diff] [blame] | 168 | </style> |
| 169 | |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 170 | <!-- |
| 171 | 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] | 172 | Various foreground colors are overridden to be workspaceTextColor so that they are properly |
| 173 | visible on various wallpapers. |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 174 | --> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 175 | <style name="HomeScreenElementTheme"> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 176 | <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item> |
| 177 | <item name="android:textColorPrimary">?attr/workspaceTextColor</item> |
| 178 | <item name="android:textColorSecondary">?attr/workspaceTextColor</item> |
Sunny Goyal | 9b29ca5 | 2017-02-17 10:39:44 -0800 | [diff] [blame] | 179 | </style> |
| 180 | |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 181 | <!-- Theme for the widget container. --> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 182 | <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 183 | <item name="android:colorPrimaryDark">#E8EAED</item> |
| 184 | <item name="android:textColorSecondary">?android:attr/textColorPrimary</item> |
| 185 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 186 | </style> |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 187 | <style name="WidgetContainerTheme.Dark" parent="AppTheme.Dark"> |
| 188 | <item name="android:colorEdgeEffect">?android:attr/textColorSecondary</item> |
| 189 | <item name="android:colorPrimaryDark">#616161</item> <!-- Gray 700 --> |
| 190 | </style> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 191 | |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 192 | <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 193 | <item name="android:layout_width">wrap_content</item> |
Sunny Goyal | 1a8f6fb | 2017-06-14 15:35:16 -0700 | [diff] [blame] | 194 | <item name="android:minWidth">@dimen/fastscroll_popup_width</item> |
| 195 | <item name="android:layout_height">@dimen/fastscroll_popup_height</item> |
| 196 | <item name="android:textSize">@dimen/fastscroll_popup_text_size</item> |
| 197 | <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 198 | <item name="android:gravity">center</item> |
| 199 | <item name="android:alpha">0</item> |
| 200 | <item name="android:elevation">3dp</item> |
| 201 | <item name="android:saveEnabled">false</item> |
Hyunyoung Song | 3af62c1 | 2021-05-12 00:29:53 -0700 | [diff] [blame] | 202 | <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 203 | <item name="android:includeFontPadding">false</item> |
Sunny Goyal | c82c639 | 2018-06-06 15:39:13 -0700 | [diff] [blame] | 204 | <item name="android:importantForAccessibility">no</item> |
Sunny Goyal | 3f0a53f | 2016-10-11 15:49:42 -0700 | [diff] [blame] | 205 | </style> |
| 206 | |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 207 | <style name="AllAppsTheme"> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 208 | <item name="disabledIconAlpha">.54</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 209 | </style> |
| 210 | |
| 211 | <style name="AllAppsTheme.Dark"> |
Samuel Fufa | e17de7c | 2020-06-19 12:44:44 -0700 | [diff] [blame] | 212 | <item name="disabledIconAlpha">.54</item> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 213 | </style> |
| 214 | |
Hyunyoung Song | 05d3e86 | 2021-05-14 00:00:19 -0700 | [diff] [blame] | 215 | <style name="BaseIconUnBounded" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
Romain Guy | 8f19cdd | 2010-01-08 15:07:00 -0800 | [diff] [blame] | 216 | <item name="android:layout_width">match_parent</item> |
| 217 | <item name="android:layout_height">match_parent</item> |
Winson Chung | 4b825dcd | 2011-06-19 12:41:22 -0700 | [diff] [blame] | 218 | <item name="android:layout_gravity">center</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 219 | <item name="android:focusable">true</item> |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 220 | <item name="android:gravity">center_horizontal</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 221 | <item name="android:textColor">?android:attr/textColorSecondary</item> |
Sunny Goyal | c9d3d06 | 2018-03-22 12:18:08 -0700 | [diff] [blame] | 222 | <item name="android:defaultFocusHighlightEnabled">false</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 223 | <!-- No shadows in the base theme --> |
| 224 | <item name="android:shadowRadius">0</item> |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 225 | </style> |
| 226 | |
Samuel Fufa | 980767a | 2020-06-18 16:33:32 -0700 | [diff] [blame] | 227 | <!-- Base theme for BubbleTextView and sub classes --> |
| 228 | <style name="BaseIcon" parent="BaseIconUnBounded"> |
| 229 | <item name="android:lines">1</item> |
| 230 | </style> |
| 231 | |
Samuel Fufa | 314761a | 2020-10-14 10:15:07 -0700 | [diff] [blame] | 232 | <!-- Base theme for AllApps BubbleTextViews --> |
| 233 | <style name="BaseIcon.AllApps" parent="BaseIcon"> |
| 234 | <item name="android:layout_width">match_parent</item> |
| 235 | <item name="android:layout_height">wrap_content</item> |
| 236 | <item name="android:stateListAnimator">@animator/all_apps_fastscroll_icon_anim</item> |
| 237 | <item name="android:paddingLeft">@dimen/dynamic_grid_cell_padding_x</item> |
| 238 | <item name="android:paddingRight">@dimen/dynamic_grid_cell_padding_x</item> |
| 239 | </style> |
| 240 | |
| 241 | |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 242 | <!-- Icon displayed on the workspace --> |
Hyunyoung Song | 72dae7f | 2019-02-27 16:58:57 -0800 | [diff] [blame] | 243 | <style name="BaseIcon.Workspace" > |
Winson Chung | 785d2eb | 2011-04-14 16:08:02 -0700 | [diff] [blame] | 244 | <item name="android:shadowRadius">2.0</item> |
Sunny Goyal | 325b5c7 | 2017-06-11 20:22:08 -0700 | [diff] [blame] | 245 | <item name="android:shadowColor">?attr/workspaceShadowColor</item> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 246 | <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item> |
Shan Huang | 4cbe517 | 2021-05-11 22:28:49 +0800 | [diff] [blame] | 247 | <item name="ambientShadowBlur">1.5dp</item> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 248 | <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item> |
Shan Huang | 5620c75 | 2021-04-16 21:33:39 +0800 | [diff] [blame] | 249 | <item name="keyShadowBlur">.5dp</item> |
| 250 | <item name="keyShadowOffsetX">.5dp</item> |
| 251 | <item name="keyShadowOffsetY">.5dp</item> |
Tony Wickham | 9438ed4 | 2017-01-20 09:38:25 -0800 | [diff] [blame] | 252 | </style> |
| 253 | |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 254 | <!-- Theme for the popup container --> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 255 | <style name="PopupItem"> |
| 256 | <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> |
Tony Wickham | c66c3e2 | 2017-04-13 08:20:03 -0700 | [diff] [blame] | 257 | </style> |
| 258 | |
Sunny Goyal | 5abb9f8 | 2016-02-09 15:22:42 -0800 | [diff] [blame] | 259 | <!-- Drop targets --> |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 260 | <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault"> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 261 | <item name="android:drawablePadding">7.5dp</item> |
Tony Wickham | e0dab19 | 2016-09-28 16:22:36 -0700 | [diff] [blame] | 262 | <item name="android:paddingLeft">16dp</item> |
| 263 | <item name="android:paddingRight">16dp</item> |
Yogisha Dixit | a3a6f51 | 2021-04-28 13:45:37 +0100 | [diff] [blame] | 264 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Sunny Goyal | 0e375f9 | 2014-10-23 11:38:15 -0700 | [diff] [blame] | 265 | <item name="android:textSize">@dimen/drop_target_text_size</item> |
Winson Chung | 90576b5 | 2011-09-27 17:45:27 -0700 | [diff] [blame] | 266 | <item name="android:singleLine">true</item> |
| 267 | <item name="android:ellipsize">end</item> |
Yogisha Dixit | a3a6f51 | 2021-04-28 13:45:37 +0100 | [diff] [blame] | 268 | <item name="android:background">@drawable/drop_target_frame</item> |
Winson Chung | 4c98d92 | 2011-05-31 16:50:48 -0700 | [diff] [blame] | 269 | </style> |
Winson Chung | 1cad91e | 2011-05-25 17:41:01 -0700 | [diff] [blame] | 270 | |
Sunny Goyal | 7066003 | 2015-05-14 00:07:08 -0700 | [diff] [blame] | 271 | <style name="DropTargetButton" parent="DropTargetButtonBase" /> |
Mario Bertschler | 93e39ec | 2017-06-09 10:20:17 -0700 | [diff] [blame] | 272 | |
Hyunyoung Song | 05d3e86 | 2021-05-14 00:00:19 -0700 | [diff] [blame] | 273 | <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault" /> |
| 274 | |
Samuel Fufa | 0826bc1 | 2020-05-10 14:40:20 -0700 | [diff] [blame] | 275 | <style name="PrimaryHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/> |
Hyunyoung Song | df4bf92 | 2019-04-11 15:17:41 -0700 | [diff] [blame] | 276 | |
Hyunyoung Song | 72dae7f | 2019-02-27 16:58:57 -0800 | [diff] [blame] | 277 | <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" /> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 278 | |
| 279 | <style name="AllAppsEmptySearchBackground"> |
| 280 | <item name="android:colorPrimary">#E0E0E0</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 281 | <item name="android:colorControlHighlight">#19BDBDBD</item> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 282 | <item name="android:colorForeground">@color/all_apps_bg_hand_fill</item> |
| 283 | </style> |
| 284 | <style name="AllAppsEmptySearchBackground.Dark"> |
| 285 | <item name="android:colorPrimary">#9AA0A6</item> |
Lucas Dupin | e4d07f9 | 2021-05-06 18:29:33 -0700 | [diff] [blame] | 286 | <item name="android:colorControlHighlight">#19DFE1E5</item> |
Sunny Goyal | 5931ca0 | 2017-06-19 17:29:48 -0700 | [diff] [blame] | 287 | <item name="android:colorForeground">@color/all_apps_bg_hand_fill_dark</item> |
| 288 | </style> |
Alina Zaidi | 6d97d89 | 2021-03-22 10:06:25 +0000 | [diff] [blame] | 289 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 290 | <style name="Button.TopRounded.Bordered" parent="@android:style/Widget.Material.Button"> |
| 291 | <item name="android:background">@drawable/button_top_rounded_bordered_ripple</item> |
| 292 | <item name="android:stateListAnimator">@null</item> |
| 293 | </style> |
| 294 | |
| 295 | <style name="Button.BottomRounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 296 | <item name="android:background">@drawable/button_bottom_rounded_colored_ripple</item> |
| 297 | <item name="android:stateListAnimator">@null</item> |
| 298 | </style> |
| 299 | |
| 300 | <style name="Button.Rounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 301 | <item name="android:background">@drawable/button_rounded_colored_ripple</item> |
| 302 | <item name="android:stateListAnimator">@null</item> |
| 303 | </style> |
| 304 | |
Alina Zaidi | 8cabe52 | 2021-05-21 17:59:19 +0100 | [diff] [blame^] | 305 | <style name="Button.FullRounded.Colored" parent="@android:style/Widget.Material.Button"> |
| 306 | <item name="android:background">@drawable/full_rounded_colored_ripple</item> |
| 307 | <item name="android:stateListAnimator">@null</item> |
| 308 | </style> |
| 309 | |
Alina Zaidi | d80cec6 | 2021-05-13 14:13:18 +0100 | [diff] [blame] | 310 | <style name="AddItemActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| 311 | <item name="widgetsTheme">@style/WidgetContainerTheme</item> |
| 312 | </style> |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 313 | </resources> |