Installed APK sequence was system splash -> white WebView -> web splash -> home. The activity now holds the system splash (core-splashscreen) until the page calls TadrisinoAndroid.appReady(), after its first non-boot screen; released after 10s or on a main-frame load error so a dead site shows the WebView error, not an endless splash. Older APKs have no appReady and are unaffected. Debug build compiles; not run on a device. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
19 lines
1.1 KiB
XML
19 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<style name="Theme.Tadrisino" parent="Theme.AppCompat.Light.NoActionBar">
|
|
<item name="android:statusBarColor">#ED6956</item>
|
|
<item name="android:windowBackground">@android:color/white</item>
|
|
</style>
|
|
|
|
<!--
|
|
اسپلشِ سیستم: آیکونِ اپ روی سفید، تا وقتی صفحهی وب خودش بگوید آماده است (appReady) روی صفحه میماند.
|
|
پیش از این، اسپلش میآمد، بعد WebView سفیدِ خالی تا رسیدنِ HTML، بعد اسپلشِ وب، بعد خانه.
|
|
سفید است چون windowBackgroundِ پایین هم سفید است و اسپلشِ وب (index.html) هم سفید است.
|
|
-->
|
|
<style name="Theme.Tadrisino.Starting" parent="Theme.SplashScreen">
|
|
<item name="windowSplashScreenBackground">@android:color/white</item>
|
|
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
|
|
<item name="postSplashScreenTheme">@style/Theme.Tadrisino</item>
|
|
</style>
|
|
</resources>
|