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