1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2006 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <resources xmlns:android="http://schemas.android.com/apk/res/android"> 18 19 <style name="RecentsTheme" parent="@android:style/Theme.Material"> 20 <!-- NoTitle --> 21 <item name="android:windowNoTitle">true</item> 22 <!-- Misc --> 23 <item name="android:statusBarColor">@android:color/transparent</item> 24 <item name="android:navigationBarColor">@android:color/transparent</item> 25 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 26 <item name="android:windowAnimationStyle">@null</item> 27 <item name="android:ambientShadowAlpha">0.35</item> 28 </style> 29 30 31 <!-- Recents theme --> 32 <style name="RecentsTheme.Wallpaper"> 33 <item name="android:windowBackground">@color/transparent</item> 34 <item name="android:colorBackgroundCacheHint">@null</item> 35 <item name="android:windowShowWallpaper">true</item> 36 <item name="android:windowDisablePreview">true</item> 37 </style> 38 39 <!-- Performance optimized Recents theme (no wallpaper) --> 40 <style name="RecentsTheme.NoWallpaper"> 41 <item name="android:windowBackground">@android:color/black</item> 42 </style> 43 44 <!-- Theme used for the activity that shows when the system forced an app to be resizable --> 45 <style name="ForcedResizableTheme" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"> 46 <item name="android:windowBackground">@drawable/forced_resizable_background</item> 47 <item name="android:statusBarColor">@color/transparent</item> 48 <item name="android:windowAnimationStyle">@style/Animation.ForcedResizable</item> 49 </style> 50 51 <style name="Animation.ForcedResizable" parent="@android:style/Animation"> 52 <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> 53 54 <!-- If the target stack doesn't have focus, we do a task to front animation. --> 55 <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> 56 <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> 57 </style> 58 59 <style name="TextAppearance.StatusBar.HeadsUp" 60 parent="@*android:style/TextAppearance.StatusBar"> 61 </style> 62 63 <style name="TextAppearance.StatusBar.SystemPanel" 64 parent="@*android:style/TextAppearance.StatusBar"> 65 <item name="android:textAppearance">?android:attr/textAppearance</item> 66 <item name="android:textStyle">normal</item> 67 <item name="android:textColor">#FF808080</item> 68 </style> 69 70 <style name="TextAppearance.StatusBar.TextButton" 71 parent="@*android:style/TextAppearance.StatusBar"> 72 <item name="android:textAppearance">?android:attr/textAppearance</item> 73 <item name="android:textStyle">normal</item> 74 <item name="android:textColor">#FFFFFFFF</item> 75 </style> 76 77 <style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon"> 78 <item name="android:textSize">@dimen/status_bar_clock_size</item> 79 <item name="android:fontFamily">sans-serif-medium</item> 80 <item name="android:textColor">@color/status_bar_clock_color</item> 81 </style> 82 83 <style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar" /> 84 85 <style name="TextAppearance.StatusBar.Expanded.Clock"> 86 <item name="android:textSize">@dimen/qs_time_expanded_size</item> 87 <item name="android:fontFamily">sans-serif-medium</item> 88 <item name="android:textColor">#ffffff</item> 89 </style> 90 91 <style name="TextAppearance.StatusBar.Expanded.Date"> 92 <item name="android:textSize">@dimen/qs_date_collapsed_size</item> 93 <item name="android:textStyle">normal</item> 94 <item name="android:textColor">#b2ffffff</item> 95 </style> 96 97 <style name="TextAppearance.StatusBar.Expanded.AboveDateTime"> 98 <item name="android:textSize">@dimen/qs_emergency_calls_only_text_size</item> 99 <item name="android:textStyle">normal</item> 100 <item name="android:textColor">#66ffffff</item> 101 </style> 102 103 <style name="TextAppearance.StatusBar.Expanded.EmergencyCallsOnly" 104 parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> 105 106 <style name="TextAppearance.StatusBar.Expanded.ChargingInfo" 107 parent="TextAppearance.StatusBar.Expanded.AboveDateTime" /> 108 109 <style name="TextAppearance.StatusBar.Expanded.UserSwitcher"> 110 <item name="android:textSize">16sp</item> 111 <item name="android:textStyle">normal</item> 112 <item name="android:textColor">@color/qs_user_detail_name</item> 113 </style> 114 <style name="TextAppearance.StatusBar.Expanded.UserSwitcher.UserName" /> 115 116 <style name="TextAppearance" /> 117 118 <style name="TextAppearance.QS"> 119 <item name="android:textStyle">normal</item> 120 <item name="android:textColor">@color/qs_text</item> 121 <item name="android:fontFamily">sans-serif</item> 122 </style> 123 124 <style name="TextAppearance.QS.DetailHeader"> 125 <item name="android:textSize">@dimen/qs_detail_header_text_size</item> 126 <item name="android:fontFamily">sans-serif-medium</item> 127 </style> 128 129 <style name="TextAppearance.QS.DetailItemPrimary"> 130 <item name="android:textSize">@dimen/qs_detail_item_primary_text_size</item> 131 </style> 132 133 <style name="TextAppearance.QS.DetailItemSecondary"> 134 <item name="android:textSize">@dimen/qs_detail_item_secondary_text_size</item> 135 <item name="android:textColor">@color/system_accent_color</item> 136 </style> 137 138 <style name="TextAppearance.QS.Introduction"> 139 <item name="android:textSize">14sp</item> 140 </style> 141 142 <style name="TextAppearance.QS.Warning"> 143 <item name="android:textSize">14sp</item> 144 <item name="android:textColor">@color/system_warning_color</item> 145 </style> 146 147 <style name="TextAppearance.QS.DetailButton"> 148 <item name="android:textSize">@dimen/qs_detail_button_text_size</item> 149 <item name="android:textColor">@color/qs_detail_button</item> 150 <item name="android:textAllCaps">true</item> 151 <item name="android:fontFamily">sans-serif-medium</item> 152 <item name="android:gravity">center</item> 153 </style> 154 155 <style name="TextAppearance.QS.DetailButton.White"> 156 <item name="android:textColor">@color/qs_detail_button_white</item> 157 </style> 158 159 <style name="TextAppearance.QS.DetailEmpty"> 160 <item name="android:textSize">@dimen/qs_detail_empty_text_size</item> 161 <item name="android:textColor">@color/qs_subhead</item> 162 </style> 163 164 <style name="TextAppearance.QS.Subhead"> 165 <item name="android:textSize">14sp</item> 166 <item name="android:textColor">@color/qs_subhead</item> 167 </style> 168 169 <style name="TextAppearance.QS.SegmentedButton"> 170 <item name="android:textSize">16sp</item> 171 <item name="android:fontFamily">sans-serif-medium</item> 172 </style> 173 174 <style name="TextAppearance.QS.DataUsage"> 175 <item name="android:textSize">@dimen/qs_data_usage_text_size</item> 176 </style> 177 178 <style name="TextAppearance.QS.DataUsage.Usage"> 179 <item name="android:textSize">@dimen/qs_data_usage_usage_text_size</item> 180 <item name="android:textColor">@color/system_accent_color</item> 181 </style> 182 183 <style name="TextAppearance.QS.DataUsage.Secondary"> 184 <item name="android:textColor">@color/data_usage_secondary</item> 185 </style> 186 187 <style name="TextAppearance.QS.TileLabel"> 188 <item name="android:textSize">@dimen/qs_tile_text_size</item> 189 <item name="android:fontFamily">sans-serif-condensed</item> 190 </style> 191 192 <style name="BaseBrightnessDialogContainer"> 193 <item name="android:layout_width">match_parent</item> 194 <item name="android:layout_height">wrap_content</item> 195 </style> 196 197 <style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" /> 198 199 <style name="Animation" /> 200 201 <style name="Animation.ShirtPocketPanel"> 202 <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item> 203 <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item> 204 </style> 205 206 <style name="Animation.RecentPanel"> 207 <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item> 208 <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item> 209 </style> 210 211 <style name="Animation.NavigationBarFadeIn"> 212 <item name="android:windowEnterAnimation">@anim/navbar_fade_in</item> 213 <item name="android:windowExitAnimation">@null</item> 214 </style> 215 216 <!-- Standard animations for hiding and showing the status bar. --> 217 <style name="Animation.StatusBar"> 218 </style> 219 220 <style name="systemui_theme" parent="@android:style/Theme.DeviceDefault"> 221 <item name="android:colorPrimary">@color/system_primary_color</item> 222 <item name="android:colorControlActivated">@color/system_accent_color</item> 223 </style> 224 225 <style name="systemui_theme_remote_input" parent="@android:style/Theme.DeviceDefault.Light"> 226 <item name="android:colorAccent">@color/remote_input_accent</item> 227 </style> 228 229 <style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog"> 230 <item name="android:colorPrimary">@color/system_primary_color</item> 231 <item name="android:colorControlActivated">@color/system_accent_color</item> 232 </style> 233 234 <style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> 235 236 <style name="QSBorderlessButton"> 237 <item name="android:padding">12dp</item> 238 <item name="android:background">@drawable/qs_btn_borderless_rect</item> 239 <item name="android:gravity">center</item> 240 </style> 241 242 <style name="TextAppearance.Material.Notification.HeaderTitle" 243 parent="@*android:style/TextAppearance.Material.Notification.Info"> 244 </style> 245 246 <style name="TextAppearance.Material.Notification.HybridNotificationDivider" 247 parent="@*android:style/TextAppearance.Material.Notification"> 248 </style> 249 250 <style name="SearchPanelCircle"> 251 <item name="android:layout_width">match_parent</item> 252 <item name="android:layout_height">match_parent</item> 253 </style> 254 255 <style name="UserDetailView"> 256 <item name="numColumns">3</item> 257 </style> 258 259 <style name="Theme.AlertDialogHost" parent="android:Theme.DeviceDefault"> 260 <item name="android:windowIsTranslucent">true</item> 261 <item name="android:windowBackground">@android:color/transparent</item> 262 <item name="android:windowContentOverlay">@null</item> 263 <item name="android:windowNoTitle">true</item> 264 <item name="android:windowIsFloating">true</item> 265 <item name="android:backgroundDimEnabled">false</item> 266 <item name="android:alertDialogTheme">@style/Theme.SystemUI.Dialog.Alert</item> 267 </style> 268 269 <style name="DualToneLightTheme"> 270 <item name="backgroundColor">@color/light_mode_icon_color_dual_tone_background</item> 271 <item name="fillColor">@color/light_mode_icon_color_dual_tone_fill</item> 272 <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> 273 </style> 274 <style name="DualToneDarkTheme"> 275 <item name="backgroundColor">@color/dark_mode_icon_color_dual_tone_background</item> 276 <item name="fillColor">@color/dark_mode_icon_color_dual_tone_fill</item> 277 <item name="singleToneColor">@color/dark_mode_icon_color_single_tone</item> 278 </style> 279 280 <style name="TextAppearance.Volume"> 281 <item name="android:textStyle">normal</item> 282 <item name="android:textColor">#ffffffff</item> 283 <item name="android:fontFamily">sans-serif</item> 284 </style> 285 286 <style name="TextAppearance.Volume.Header"> 287 <item name="android:textSize">12sp</item> 288 <item name="android:textColor">@color/volume_slider_inactive</item> 289 </style> 290 291 <style name="TextAppearance.Volume.ZenSummary"> 292 <item name="android:textSize">14sp</item> 293 <item name="android:fontFamily">sans-serif-medium</item> 294 </style> 295 296 <style name="TextAppearance.Volume.ZenDetail"> 297 <item name="android:textSize">14sp</item> 298 <item name="android:fontFamily">sans-serif</item> 299 <item name="android:textColor">#ffb0b3c5</item> 300 </style> 301 302 <style name="VolumeButtons" parent="@android:style/Widget.Material.Button.Borderless"> 303 <item name="android:background">@drawable/btn_borderless_rect</item> 304 </style> 305 306 <style name="DockedDividerBackground"> 307 <item name="android:layout_width">match_parent</item> 308 <item name="android:layout_height">10dp</item> 309 <item name="android:layout_gravity">center_vertical</item> 310 </style> 311 312 <style name="DockedDividerMinimizedShadow"> 313 <item name="android:layout_width">match_parent</item> 314 <item name="android:layout_height">8dp</item> 315 </style> 316 317 <style name="DockedDividerHandle"> 318 <item name="android:layout_gravity">center_horizontal</item> 319 <item name="android:layout_width">96dp</item> 320 <item name="android:layout_height">48dp</item> 321 </style> 322 323 <style name="TunerSettings" parent="@android:style/Theme.Material.Settings"> 324 <item name="android:windowActionBar">false</item> 325 <item name="preferenceTheme">@style/TunerPreferenceTheme</item> 326 </style> 327 328 <style name="TunerPreferenceTheme" parent="@android:style/Theme.Material.Settings"> 329 <item name="dropdownPreferenceStyle">@style/Preference.DropDown.Material</item> 330 </style> 331 332 <style name="TextAppearance.NotificationGuts"> 333 <item name="android:textSize">14sp</item> 334 <item name="android:fontFamily">roboto-regular</item> 335 <item name="android:textColor">@android:color/black</item> 336 </style> 337 338 <style name="TextAppearance.NotificationGuts.Header"> 339 <item name="android:alpha">.38</item> 340 <item name="android:textSize">12sp</item> 341 </style> 342 343 <style name="TextAppearance.NotificationGuts.Secondary"> 344 <item name="android:alpha">.54</item> 345 </style> 346 347 <style name="TextAppearance.NotificationGuts.Primary"> 348 <item name="android:alpha">.87</item> 349 <item name="android:textSize">16sp</item> 350 </style> 351 352 <style name="TextAppearance.NotificationGuts.Radio"> 353 <item name="android:alpha">.87</item> 354 </style> 355 356 <style name="TextAppearance.NotificationGuts.Button"> 357 <item name="android:textSize">14sp</item> 358 <item name="android:textAllCaps">true</item> 359 <item name="android:fontFamily">sans-serif-medium</item> 360 <item name="android:gravity">center</item> 361 <item name="android:textColor">@*android:color/material_deep_teal_500</item> 362 </style> 363 364 <style name="ThemeOverlay.SwitchBar" parent="@android:style/ThemeOverlay"> 365 <item name="android:colorAccent">@color/switch_accent_color</item> 366 </style> 367 368 <style name="edit_theme" parent="@android:style/Theme.Material"> 369 <item name="android:colorBackground">@color/qs_edit_overflow_bg</item> 370 </style> 371 372 </resources> 373