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> 21 <!-- Launcher theme --> 22 <style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light"> 23 <item name="android:colorBackgroundCacheHint">@null</item> 24 <item name="android:colorEdgeEffect">#FF757575</item> 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> 29 <item name="folderTextColor">?attr/workspaceTextColor</item> 30 </style> 31 32 <style name="LauncherTheme" parent="@style/BaseLauncherTheme"> 33 <item name="allAppsScrimColor">#EAFFFFFF</item> 34 <item name="allAppsInterimScrimAlpha">46</item> 35 <item name="allAppsNavBarScrimColor">#66FFFFFF</item> 36 <item name="popupColorPrimary">#FFF</item> 37 <item name="popupColorSecondary">#F5F5F5</item> <!-- Gray 100 --> 38 <item name="popupColorTertiary">#E0E0E0</item> <!-- Gray 300 --> 39 <item name="isMainColorDark">false</item> 40 <item name="isWorkspaceDarkText">false</item> 41 <item name="workspaceTextColor">@android:color/white</item> 42 <item name="workspaceShadowColor">#B0000000</item> 43 <item name="workspaceAmbientShadowColor">#33000000</item> 44 <item name="workspaceKeyShadowColor">#44000000</item> 45 <item name="workspaceStatusBarScrim">@drawable/workspace_bg</item> 46 <item name="widgetsTheme">@style/WidgetContainerTheme</item> 47 <item name="folderDotColor">?android:attr/colorPrimary</item> 48 <item name="folderFillColor">#CDFFFFFF</item> 49 <item name="folderIconBorderColor">?android:attr/colorPrimary</item> 50 <item name="folderTextColor">#FF212121</item> 51 <item name="loadingIconColor">#CCFFFFFF</item> 52 53 <item name="android:windowTranslucentStatus">false</item> 54 <item name="android:windowTranslucentNavigation">false</item> 55 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 56 <item name="android:statusBarColor">#00000000</item> 57 <item name="android:navigationBarColor">#00000000</item> 58 </style> 59 60 <style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme"> 61 <item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 --> 62 <item name="folderTextColor">?attr/workspaceTextColor</item> 63 </style> 64 65 <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme"> 66 <item name="workspaceTextColor">#FF212121</item> 67 <item name="allAppsInterimScrimAlpha">128</item> 68 <item name="workspaceShadowColor">@android:color/transparent</item> 69 <item name="workspaceAmbientShadowColor">@android:color/transparent</item> 70 <item name="workspaceKeyShadowColor">@android:color/transparent</item> 71 <item name="isWorkspaceDarkText">true</item> 72 <item name="workspaceStatusBarScrim">@null</item> 73 <item name="folderDotColor">#FF464646</item> 74 <item name="folderFillColor">#CDFFFFFF</item> 75 <item name="folderIconBorderColor">#FF80868B</item> 76 <item name="folderTextColor">?attr/workspaceTextColor</item> 77 </style> 78 79 <style name="LauncherTheme.Dark" parent="@style/LauncherTheme"> 80 <item name="android:textColorPrimary">#FFFFFFFF</item> 81 <item name="android:textColorSecondary">#FFFFFFFF</item> 82 <item name="android:textColorTertiary">#CCFFFFFF</item> 83 <item name="android:textColorHint">#A0FFFFFF</item> 84 <item name="android:colorControlHighlight">#A0FFFFFF</item> 85 <item name="android:colorPrimary">#FF212121</item> 86 <item name="allAppsScrimColor">#EA212121</item> 87 <item name="allAppsInterimScrimAlpha">102</item> 88 <item name="allAppsNavBarScrimColor">#80000000</item> 89 <item name="popupColorPrimary">#3C4043</item> <!-- Gray 800 --> 90 <item name="popupColorSecondary">#5F6368</item> <!-- Gray 700 --> 91 <item name="popupColorTertiary">#757575</item> <!-- Gray 600 --> 92 <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item> 93 <item name="folderDotColor">#FF464646</item> 94 <item name="folderFillColor">#DD3C4043</item> <!-- 87% GM2 800 --> 95 <item name="folderIconBorderColor">#FF80868B</item> 96 <item name="folderTextColor">@android:color/white</item> 97 <item name="isMainColorDark">true</item> 98 <item name="loadingIconColor">#99FFFFFF</item> 99 </style> 100 101 <style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark"> 102 <item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 --> 103 <item name="folderTextColor">@android:color/white</item> 104 </style> 105 106 <style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark"> 107 <item name="android:colorControlHighlight">#75212121</item> 108 <item name="allAppsInterimScrimAlpha">25</item> 109 <item name="folderFillColor">#CDFFFFFF</item> 110 <item name="folderTextColor">?attr/workspaceTextColor</item> 111 <item name="workspaceTextColor">#FF212121</item> 112 <item name="workspaceShadowColor">@android:color/transparent</item> 113 <item name="workspaceAmbientShadowColor">@android:color/transparent</item> 114 <item name="workspaceKeyShadowColor">@android:color/transparent</item> 115 <item name="isWorkspaceDarkText">true</item> 116 <item name="workspaceStatusBarScrim">@null</item> 117 </style> 118 119 <!-- A derivative project can extend these themes to customize the application theme without 120 affecting the base theme --> 121 <style name="AppTheme" parent="@style/LauncherTheme" /> 122 <style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" /> 123 <style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" /> 124 125 <style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" /> 126 <style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" /> 127 <style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" /> 128 129 <style name="AppItemActivityTheme" parent="@android:style/Theme.Material.Light.Dialog.Alert"> 130 <item name="widgetsTheme">@style/WidgetContainerTheme</item> 131 </style> 132 133 <style name="HomeSettingsTheme" parent="@android:style/Theme.DeviceDefault.Settings"> 134 <item name="android:navigationBarColor">@android:color/transparent</item> 135 </style> 136 137 <!-- 138 Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper. 139 Various foreground colors are overridden to be workspaceTextColor so that they are properly 140 visible on various wallpapers. 141 --> 142 <style name="HomeScreenElementTheme"> 143 <item name="android:colorEdgeEffect">?attr/workspaceTextColor</item> 144 <item name="android:textColorPrimary">?attr/workspaceTextColor</item> 145 <item name="android:textColorSecondary">?attr/workspaceTextColor</item> 146 </style> 147 148 <!-- Theme for the widget container. Overridden on API 26. --> 149 <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings"> 150 <item name="android:colorEdgeEffect">?android:attr/textColorSecondaryInverse</item> 151 <item name="android:textColorPrimary">?android:attr/textColorPrimaryInverse</item> 152 <item name="android:textColorSecondary">?android:attr/textColorSecondaryInverse</item> 153 </style> 154 155 <style name="WidgetContainerTheme.Dark" /> 156 157 <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> 158 <item name="android:layout_width">wrap_content</item> 159 <item name="android:minWidth">@dimen/fastscroll_popup_width</item> 160 <item name="android:layout_height">@dimen/fastscroll_popup_height</item> 161 <item name="android:textSize">@dimen/fastscroll_popup_text_size</item> 162 <item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item> 163 <item name="android:gravity">center</item> 164 <item name="android:alpha">0</item> 165 <item name="android:elevation">3dp</item> 166 <item name="android:saveEnabled">false</item> 167 <item name="android:textColor">@android:color/white</item> 168 <item name="android:includeFontPadding">false</item> 169 <item name="android:importantForAccessibility">no</item> 170 </style> 171 172 <!-- Base theme for BubbleTextView and sub classes --> 173 <style name="BaseIcon" parent="@android:style/TextAppearance.DeviceDefault"> 174 <item name="android:layout_width">match_parent</item> 175 <item name="android:layout_height">match_parent</item> 176 <item name="android:layout_gravity">center</item> 177 <item name="android:focusable">true</item> 178 <item name="android:gravity">center_horizontal</item> 179 <item name="android:lines">1</item> 180 <item name="android:textColor">?android:attr/textColorSecondary</item> 181 <item name="android:defaultFocusHighlightEnabled">false</item> 182 183 <!-- No shadows in the base theme --> 184 <item name="android:shadowRadius">0</item> 185 </style> 186 187 <!-- Icon displayed on the workspace --> 188 <style name="BaseIcon.Workspace" > 189 <item name="android:shadowRadius">2.0</item> 190 <item name="android:shadowColor">?attr/workspaceShadowColor</item> 191 <item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item> 192 <item name="ambientShadowBlur">2.5dp</item> 193 <item name="keyShadowColor">?attr/workspaceKeyShadowColor</item> 194 <item name="keyShadowBlur">1dp</item> 195 <item name="keyShadowOffset">.5dp</item> 196 </style> 197 198 <!-- Theme for the popup container --> 199 <style name="PopupItem"> 200 <item name="android:colorControlHighlight">?attr/popupColorTertiary</item> 201 </style> 202 203 <!-- Drop targets --> 204 <style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault"> 205 <item name="android:drawablePadding">7.5dp</item> 206 <item name="android:paddingLeft">16dp</item> 207 <item name="android:paddingRight">16dp</item> 208 <item name="android:textColor">?attr/workspaceTextColor</item> 209 <item name="android:textSize">@dimen/drop_target_text_size</item> 210 <item name="android:singleLine">true</item> 211 <item name="android:ellipsize">end</item> 212 <item name="android:shadowColor">?attr/workspaceShadowColor</item> 213 <item name="android:shadowDx">0.0</item> 214 <item name="android:shadowDy">1.0</item> 215 <item name="android:shadowRadius">4.0</item> 216 </style> 217 218 <style name="DropTargetButton" parent="DropTargetButtonBase" /> 219 220 <style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" /> 221 222 <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" /> 223 224 <style name="AllAppsEmptySearchBackground"> 225 <item name="android:colorPrimary">#E0E0E0</item> 226 <item name="android:colorControlHighlight">#BDBDBD</item> 227 <item name="android:colorForeground">@color/all_apps_bg_hand_fill</item> 228 </style> 229 <style name="AllAppsEmptySearchBackground.Dark"> 230 <item name="android:colorPrimary">#9AA0A6</item> 231 <item name="android:colorControlHighlight">#DFE1E5</item> 232 <item name="android:colorForeground">@color/all_apps_bg_hand_fill_dark</item> 233 </style> 234</resources> 235