1bc2de655a
Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
17 lines
1.0 KiB
XML
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>
|