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">?android:attr/colorAccent</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">?android:attr/colorAccent</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 222 <style name="systemui_theme_remote_input" parent="@android:style/Theme.DeviceDefault.Light"> 223 <item name="android:colorAccent">@color/remote_input_accent</item> 224 </style> 225 226 <style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog" /> 227 228 <style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" /> 229 230 <style name="QSBorderlessButton"> 231 <item name="android:padding">12dp</item> 232 <item name="android:background">@drawable/qs_btn_borderless_rect</item> 233 <item name="android:gravity">center</item> 234 </style> 235 236 <style name="TextAppearance.Material.Notification.HeaderTitle" 237 parent="@*android:style/TextAppearance.Material.Notification.Info"> 238 </style> 239 240 <style name="TextAppearance.Material.Notification.HybridNotificationDivider" 241 parent="@*android:style/TextAppearance.Material.Notification"> 242 </style> 243 244 <style name="SearchPanelCircle"> 245 <item name="android:layout_width">match_parent</item> 246 <item name="android:layout_height">match_parent</item> 247 </style> 248 249 <style name="UserDetailView"> 250 <item name="numColumns">3</item> 251 </style> 252 253 <style name="Theme.AlertDialogHost" parent="android:Theme.DeviceDefault"> 254 <item name="android:windowIsTranslucent">true</item> 255 <item name="android:windowBackground">@android:color/transparent</item> 256 <item name="android:windowContentOverlay">@null</item> 257 <item name="android:windowNoTitle">true</item> 258 <item name="android:windowIsFloating">true</item> 259 <item name="android:backgroundDimEnabled">false</item> 260 <item name="android:alertDialogTheme">@style/Theme.SystemUI.Dialog.Alert</item> 261 </style> 262 263 <style name="DualToneLightTheme"> 264 <item name="backgroundColor">@color/light_mode_icon_color_dual_tone_background</item> 265 <item name="fillColor">@color/light_mode_icon_color_dual_tone_fill</item> 266 <item name="singleToneColor">@color/light_mode_icon_color_single_tone</item> 267 </style> 268 <style name="DualToneDarkTheme"> 269 <item name="backgroundColor">@color/dark_mode_icon_color_dual_tone_background</item> 270 <item name="fillColor">@color/dark_mode_icon_color_dual_tone_fill</item> 271 <item name="singleToneColor">@color/dark_mode_icon_color_single_tone</item> 272 </style> 273 274 <style name="TextAppearance.Volume"> 275 <item name="android:textStyle">normal</item> 276 <item name="android:textColor">#ffffffff</item> 277 <item name="android:fontFamily">sans-serif</item> 278 </style> 279 280 <style name="TextAppearance.Volume.Header"> 281 <item name="android:textSize">12sp</item> 282 <item name="android:textColor">@color/volume_slider_inactive</item> 283 </style> 284 285 <style name="TextAppearance.Volume.ZenSummary"> 286 <item name="android:textSize">14sp</item> 287 <item name="android:fontFamily">sans-serif-medium</item> 288 </style> 289 290 <style name="TextAppearance.Volume.ZenDetail"> 291 <item name="android:textSize">14sp</item> 292 <item name="android:fontFamily">sans-serif</item> 293 <item name="android:textColor">@*android:color/quaternary_device_default_settings</item> 294 </style> 295 296 <style name="VolumeButtons" parent="@android:style/Widget.Material.Button.Borderless"> 297 <item name="android:background">@drawable/btn_borderless_rect</item> 298 </style> 299 300 <style name="DockedDividerBackground"> 301 <item name="android:layout_width">match_parent</item> 302 <item name="android:layout_height">10dp</item> 303 <item name="android:layout_gravity">center_vertical</item> 304 </style> 305 306 <style name="DockedDividerMinimizedShadow"> 307 <item name="android:layout_width">match_parent</item> 308 <item name="android:layout_height">8dp</item> 309 </style> 310 311 <style name="DockedDividerHandle"> 312 <item name="android:layout_gravity">center_horizontal</item> 313 <item name="android:layout_width">96dp</item> 314 <item name="android:layout_height">48dp</item> 315 </style> 316 317 <style name="TunerSettings" parent="@android:style/Theme.DeviceDefault.Settings"> 318 <item name="android:windowActionBar">false</item> 319 <item name="preferenceTheme">@style/TunerPreferenceTheme</item> 320 </style> 321 322 <style name="TunerPreferenceTheme" parent="@android:style/Theme.DeviceDefault.Settings"> 323 <item name="dropdownPreferenceStyle">@style/Preference.DropDown.Material</item> 324 </style> 325 326 <style name="TextAppearance.NotificationGuts"> 327 <item name="android:textSize">14sp</item> 328 <item name="android:fontFamily">roboto-regular</item> 329 <item name="android:textColor">@android:color/black</item> 330 </style> 331 332 <style name="TextAppearance.NotificationGuts.Header"> 333 <item name="android:alpha">.38</item> 334 <item name="android:textSize">12sp</item> 335 </style> 336 337 <style name="TextAppearance.NotificationGuts.Secondary"> 338 <item name="android:textColor">?android:attr/textColorSecondary</item> 339 </style> 340 341 <style name="TextAppearance.NotificationGuts.Primary"> 342 <item name="android:textColor">?android:attr/textColorPrimary</item> 343 <item name="android:textSize">16sp</item> 344 </style> 345 346 <style name="TextAppearance.NotificationGuts.Radio"> 347 <item name="android:textColor">?android:attr/textColorPrimary</item> 348 </style> 349 350 <style name="TextAppearance.NotificationGuts.Button"> 351 <item name="android:textSize">14sp</item> 352 <item name="android:textAllCaps">true</item> 353 <item name="android:fontFamily">sans-serif-medium</item> 354 <item name="android:gravity">center</item> 355 <item name="android:textColor">?android:attr/colorAccent</item> 356 </style> 357 358 <style name="edit_theme" parent="@*android:style/Theme.DeviceDefault.Settings.Dark"> 359 <item name="android:colorBackground">?android:attr/colorSecondary</item> 360 </style> 361 362 </resources> 363