bitfireAT / davx5-ose

DAVx⁵ is an open-source CalDAV/CardDAV suite and sync app for Android. You can also access your online files (WebDAV) with it.
https://www.davx5.com
GNU General Public License v3.0
1.25k stars 69 forks source link

intro pages ignore background theme color specified via ThemeColors.kt #719

Closed mbiebl closed 1 month ago

mbiebl commented 1 month ago

This concerns the rewrite in 7b12a53616f7201e6f902e00d13262348d14eb13.

No matter what color one specifies for the background in ThemeColors, it doesn't have an influence on the intro pages, only on the cards that are displayed in the main activity.

The only way to change the background color in the intro pages is via styles.xml, like this

--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -15,6 +15,7 @@
         <item name="colorPrimary">@color/primaryColor</item>
         <item name="colorPrimaryDark">@color/primaryDarkColor</item>       <!-- additionally required for AppCompatActivity -->
         <item name="colorPrimaryVariant">@color/primaryLightColor</item>
+        <item name="android:colorBackground">@android:color/holo_blue_bright</item>
     </style>

     <!-- stepper (wizard) -->