Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2018 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
Tsung-Mao Fang | 53f94d3 | 2021-06-21 18:17:27 +0800 | [diff] [blame] | 18 | <resources> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 19 | |
| 20 | <style name="Theme.Settings.Home" parent="Theme.Settings.HomeBase"> |
Fan Zhang | 3181e1a | 2018-10-10 15:25:47 -0700 | [diff] [blame] | 21 | <item name="colorPrimary">@*android:color/primary_device_default_settings</item> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 22 | <item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings</item> |
marcusge | dc087a6 | 2024-04-23 19:26:55 +0000 | [diff] [blame] | 23 | <item name="android:colorBackground">@android:color/system_surface_container_dark</item> |
Tsung-Mao Fang | df00a3b | 2021-06-23 17:53:59 +0800 | [diff] [blame] | 24 | <!-- Homepage should follow device default design, the values is same as device default theme.--> |
| 25 | <item name="android:navigationBarColor">@android:color/black</item> |
| 26 | <item name="android:statusBarColor">?attr/colorPrimaryDark</item> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 27 | </style> |
| 28 | |
Salvador Martinez | 20e09e0 | 2019-03-27 18:50:16 -0700 | [diff] [blame] | 29 | <style name="Theme.SubSettings" parent="Theme.SubSettings.Base"/> |
Salvador Martinez | 2bb9930 | 2018-11-02 14:15:44 -0700 | [diff] [blame] | 30 | |
| 31 | <style name="Theme.AlertDialog.Base" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert"> |
marcusge | dc087a6 | 2024-04-23 19:26:55 +0000 | [diff] [blame] | 32 | <item name="colorAccent">@android:color/system_primary_dark</item> |
Tsung-Mao Fang | 1e8a907 | 2021-06-17 17:39:41 +0800 | [diff] [blame] | 33 | <item name="android:colorError">@color/settings_dialog_colorError</item> |
marcusge | dc087a6 | 2024-04-23 19:26:55 +0000 | [diff] [blame] | 34 | <item name="android:colorBackground">@android:color/system_surface_container_high_dark</item> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 35 | </style> |
| 36 | |
Julia Tuttle | b231360 | 2023-06-09 13:30:25 -0400 | [diff] [blame] | 37 | <style name="Theme.Panel.Material" parent="Theme.Panel" > |
| 38 | <item name="notification_importance_button_background_color_unselected">@android:color/transparent</item> |
| 39 | <item name="notification_importance_button_border_color_unselected">@android:color/system_outline_variant_dark</item> |
| 40 | <item name="notification_importance_button_foreground_color_unselected">@android:color/system_on_surface_variant_dark</item> |
| 41 | |
| 42 | <item name="notification_importance_button_background_color_selected">@android:color/system_secondary_container_dark</item> |
| 43 | <item name="notification_importance_button_border_color_selected">@android:color/system_on_secondary_container_dark</item> |
| 44 | <item name="notification_importance_button_foreground_color_selected">@android:color/system_on_secondary_container_dark</item> |
| 45 | </style> |
| 46 | |
Raff Tsai | 41435ad | 2020-01-13 03:07:00 +0800 | [diff] [blame] | 47 | <!-- Material theme for the pages containing TabLayout and ViewPager --> |
| 48 | <style name="Theme.TabTheme" parent="@style/Theme.MaterialComponents.DayNight"> |
| 49 | <item name="colorPrimary">@*android:color/edge_effect_device_default_dark</item> |
| 50 | </style> |
Mill Chen | 14cfd2f | 2021-01-06 07:46:46 +0800 | [diff] [blame] | 51 | |
Mill Chen | 23d3ecc | 2021-03-23 23:09:47 +0800 | [diff] [blame] | 52 | <style name="Theme.CollapsingToolbar.Settings" parent="@style/Theme.MaterialComponents.DayNight"> |
| 53 | <item name="elevationOverlayEnabled">true</item> |
| 54 | <item name="elevationOverlayColor">?attr/colorPrimary</item> |
Mill Chen | 14cfd2f | 2021-01-06 07:46:46 +0800 | [diff] [blame] | 55 | <item name="colorPrimary">@*android:color/primary_dark_device_default_settings</item> |
| 56 | <item name="colorAccent">@*android:color/accent_device_default_dark</item> |
| 57 | </style> |
Raff Tsai | 0a39e43 | 2018-09-17 14:40:08 +0800 | [diff] [blame] | 58 | </resources> |