enhance: set status bar background for splash screen

This commit is contained in:
Tienson Qin
2021-11-27 22:27:52 +08:00
parent ef1b3d7131
commit 842c8013db
3 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,8 @@
"launchShowDuration": 3000,
"launchAutoHide": false,
"androidScaleType": "CENTER_CROP",
"splashImmersive": true,
"splashImmersive": false,
"showSpinner": true,
"backgroundColor": "#002b36"
}
},

View File

@@ -16,7 +16,6 @@
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="AppTheme.NoActionBarLaunch" parent="AppTheme.NoActionBar">
<item name="android:background">@drawable/splash</item>
</style>

View File

@@ -10,7 +10,8 @@ const config: CapacitorConfig = {
launchShowDuration: 3000,
launchAutoHide: false,
androidScaleType: "CENTER_CROP",
splashImmersive: true,
splashImmersive: false,
showSpinner: true
backgroundColor: "#002b36"
},
}