summaryrefslogtreecommitdiff
path: root/data/res/values-television/themes_device_defaults.xml
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2020-06-10 18:33:02 +0000
committerAlan Viverette <alanv@google.com>2020-06-10 18:33:03 +0000
commit03d553bc2b9890601943a4e04e02202337eb1af7 (patch)
tree00f908d5f33a45ba78aab5685ae0a5b14d996772 /data/res/values-television/themes_device_defaults.xml
parent3e74c6dc02349eefb7f393c8a5e2e9514b031da8 (diff)
downloadandroid-30-03d553bc2b9890601943a4e04e02202337eb1af7.tar.gz
The change is generated with prebuilt drop tool. Change-Id: Ia6fe88e0b2589b6968ff537b6eccd06ca925d621
Diffstat (limited to 'data/res/values-television/themes_device_defaults.xml')
-rw-r--r--data/res/values-television/themes_device_defaults.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/data/res/values-television/themes_device_defaults.xml b/data/res/values-television/themes_device_defaults.xml
new file mode 100644
index 0000000..cb3d328
--- /dev/null
+++ b/data/res/values-television/themes_device_defaults.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2014 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <style name="Theme.DeviceDefault.Dialog.Alert" parent="Theme.Leanback.Dialog.Alert" />
+ <style name="Theme.DeviceDefault.Dialog.AppError" parent="Theme.Leanback.Dialog.AppError" />
+ <style name="Theme.DeviceDefault.Light.Dialog.Alert" parent="Theme.Leanback.Light.Dialog.Alert" />
+
+ <!-- TODO(b/116457731): remove colorBackground from colors_material.xml if not used anymore -->
+ <style name="Theme.DeviceDefault.Autofill" parent="Theme.Material">
+ <item name="colorBackground">@color/autofill_background_material_dark</item>
+ </style>
+ <style name="Theme.DeviceDefault.Autofill.Save" parent="Theme.Material.Panel">
+ <item name="colorBackground">@color/autofill_background_material_dark</item>
+ </style>
+
+ <!-- TV always use dark mode -->
+ <style name="Theme.DeviceDefault.System" parent="Theme.DeviceDefault" />
+ <style name="Theme.DeviceDefault.System.Dialog" parent="Theme.DeviceDefault.Dialog" />
+ <style name="Theme.DeviceDefault.System.Dialog.Alert" parent="Theme.DeviceDefault.Dialog.Alert" />
+ <style name="Theme.DeviceDefault.Autofill.Light" parent="Theme.DeviceDefault.Autofill"/>
+ <style name="Theme.DeviceDefault.Light.Autofill.Save" parent="Theme.DeviceDefault.Autofill.Save"/>
+
+ <style name="Theme.DeviceDefault.Resolver" parent="Theme.Leanback.Resolver" />
+</resources>