Use colorBackground property instead of splash screen lib

This commit is contained in:
Serhii K
2024-01-24 00:40:30 +02:00
committed by Alinson S. Xavier
parent 0683ea43f4
commit b627ff4413
5 changed files with 4 additions and 32 deletions

View File

@@ -19,5 +19,5 @@
-->
<resources>
<color name="splash_screen_background">@color/grey_900</color>
<color name="color_background">@color/grey_900</color>
</resources>

View File

@@ -1,24 +0,0 @@
<!--
~ Copyright (C) 2016-2021 Álinson Santos Xavier <git@axavier.org>
~
~ This file is part of Loop Habit Tracker.
~
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by the
~ Free Software Foundation, either version 3 of the License, or (at your
~ option) any later version.
~
~ Loop Habit Tracker is distributed in the hope that it will be useful, but
~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
~ more details.
~
~ You should have received a copy of the GNU General Public License along
~ with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<style name="AppBaseTheme" parent="@style/AppTheme">
<item name="android:windowSplashScreenBackground">@color/splash_screen_background</item>
</style>
</resources>

View File

@@ -89,5 +89,5 @@
</array>
<color name="ic_launcher_background">#1976D2</color>
<color name="splash_screen_background">@color/grey_200</color>
<color name="color_background">@color/grey_200</color>
</resources>

View File

@@ -18,7 +18,7 @@
-->
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="AppTheme" parent="@style/Theme.MaterialComponents.Light.NoActionBar">
<style name="AppBaseTheme" parent="@style/Theme.MaterialComponents.Light.NoActionBar">
<item name="aboutScreenColor">@color/blue_800</item>
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
<item name="actionModeBackground">@color/grey_700</item>
@@ -61,15 +61,12 @@
<item name="widgetShadowAlpha">0.25</item>
<item name="windowActionModeOverlay">true</item>
<item name="windowBackgroundColor">@color/grey_200</item>
<item name="android:colorBackground">@color/color_background</item>
<item name="android:textColorAlertDialogListItem">@color/grey_800</item>
<item name="singleLineTitle">false</item>
<item name="dialogFormLabelColor">@color/white</item>
</style>
<style name="AppBaseTheme" parent="@style/AppTheme">
<item name="windowSplashScreenBackground">@color/splash_screen_background</item>
</style>
<style name="AppBaseThemeDark" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
<item name="aboutScreenColor">@color/blue_300</item>
<item name="actionModeBackground">@color/grey_800</item>