Files
threadcount-community/android/app/src/main/res/values-v31/styles.xml
T
ThreadCount 1bc2de655a ThreadCount Community edition
Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
2026-09-13 08:45:19 +10:00

17 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Android 12 and later ignore windowBackground for the launch screen and use the SplashScreen
API instead, which is why the app opened on a white rounded launcher icon rather than ink.
Setting the background here makes the very first frame the same ink the bundled splash uses,
and the icon is deliberately a transparent drawable: the bundled splash draws the mark itself,
one bar at a time, and showing it still first and then redrawing it reads as a stutter. -->
<resources>
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/tcInk</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
<item name="postSplashScreenTheme">@style/AppTheme.NoActionBar</item>
<item name="android:statusBarColor">@color/tcInk</item>
<item name="android:navigationBarColor">@color/tcInk</item>
<item name="android:windowLightStatusBar">false</item>
</style>
</resources>