summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dark-res/values-night/styles.xml8
-rw-r--r--dark-res/values/appcompat_styles.xml25
2 files changed, 29 insertions, 4 deletions
diff --git a/dark-res/values-night/styles.xml b/dark-res/values-night/styles.xml
index f9fd9d9..0303cba 100644
--- a/dark-res/values-night/styles.xml
+++ b/dark-res/values-night/styles.xml
@@ -19,10 +19,10 @@
Base application theme, dependent on API level. This theme is replaced
by BugleBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
- <style name="BugleBaseTheme" parent="@style/Theme.AppCompat" />
+ <style name="BugleBaseTheme" parent="@style/DeviceDefault.Theme.AppCompat" />
- <style name="BugleTheme" parent="@style/Theme.AppCompat">
+ <style name="BugleTheme" parent="@style/DeviceDefault.Theme.AppCompat">
<item name="android:dropDownListViewStyle">@style/DropDownListViewStyle</item>
<item name="colorPrimary">#689F38</item>
<item name="colorPrimaryDark">#537F2D</item>
@@ -53,7 +53,7 @@
<style name="BugleTheme.DialogActivity" parent="@style/Theme.AppCompat.Dialog" />
- <style name="BugleTheme.ConversationListActivity" parent="@style/Theme.AppCompat">
+ <style name="BugleTheme.ConversationListActivity" parent="@style/DeviceDefault.Theme.AppCompat">
<item name="android:dropDownListViewStyle">@style/DropDownListViewStyle</item>
<item name="colorPrimary">#689F38</item>
<item name="colorPrimaryDark">#537F2D</item>
@@ -68,7 +68,7 @@
-->
</style>
- <style name="BugleTheme.ArchivedConversationListActivity" parent="@style/Theme.AppCompat">
+ <style name="BugleTheme.ArchivedConversationListActivity" parent="@style/DeviceDefault.Theme.AppCompat">
<item name="android:dropDownListViewStyle">@style/DropDownListViewStyle</item>
<item name="colorPrimary">#303030</item>
<item name="colorPrimaryDark">#212121</item>
diff --git a/dark-res/values/appcompat_styles.xml b/dark-res/values/appcompat_styles.xml
new file mode 100644
index 0000000..6f7d9bb
--- /dev/null
+++ b/dark-res/values/appcompat_styles.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2020 Android Ice Cold 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="DeviceDefault.Theme.AppCompat" parent="Theme.AppCompat">
+ <item name="android:colorBackground">@*android:color/background_device_default_dark</item>
+ <item name="android:colorBackgroundFloating">@*android:color/background_floating_device_default_dark</item>
+ <item name="colorBackgroundFloating">@*android:color/background_floating_device_default_dark</item>
+ </style>
+
+</resources>