- Apply to SUW provided theme. - Use isSetupWizardDayNightEnabled to decide which device's SUW supports dark mode. Fixes: 184901818 Bug: 186076332 Test: manual test Change-Id: I44c5f8ee19dac58dea7f5543840659c08aad4a39
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2020 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.
|
|
-->
|
|
|
|
<!-- SUW related themes -->
|
|
<resources>
|
|
<!-- This theme was applied to Settings pages which are running under SUW. -->
|
|
<style name="SubSettings.SetupWizard" parent="SudThemeGlifV3" />
|
|
|
|
<!-- DayNight themes -->
|
|
<style name="GlifTheme.DayNight" parent="GlifTheme" />
|
|
<style name="GlifV2Theme.DayNight" parent="GlifV2Theme" />
|
|
<style name="GlifV3Theme.DayNight" parent="GlifV3Theme" />
|
|
<style name="GlifV3Theme.DayNight.NoActionBar" parent="GlifV3Theme.NoActionBar" />
|
|
<style name="GlifV2Theme.DayNight.Transparent" parent="GlifV2Theme.Transparent" />
|
|
<style name="GlifV3Theme.DayNight.Transparent" parent="GlifV3Theme.Transparent" />
|
|
<style name="SetupWizardTheme.DayNight.Transparent" parent="SetupWizardTheme.Transparent" />
|
|
<style name="SuwAlertDialogThemeCompat.DayNight" parent="SuwAlertDialogThemeCompat" />
|
|
</resources>
|