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