Skip to content

Commit 8f3e4e2

Browse files
committed
example: Add Android splash screen
1 parent a75ce22 commit 8f3e4e2

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright 2025, miuix-kotlin-multiplatform contributors -->
3+
<!-- SPDX-License-Identifier: Apache-2.0 -->
4+
5+
<resources>
6+
7+
<style name="Theme.Miuix" parent="android:Theme.Material.NoActionBar">
8+
<item name="android:forceDarkAllowed">false</item>
9+
<item name="android:windowSplashScreenBackground">@android:color/background_dark</item>
10+
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
11+
</style>
12+
</resources>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright 2025, miuix-kotlin-multiplatform contributors -->
3+
<!-- SPDX-License-Identifier: Apache-2.0 -->
4+
5+
<resources>
6+
7+
<style name="Theme.Miuix" parent="android:Theme.Material.Light.NoActionBar">
8+
<item name="android:windowSplashScreenBackground">@android:color/background_light</item>
9+
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
10+
</style>
11+
</resources>

iosApp/iosApp/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0.4</string>
1919
<key>CFBundleVersion</key>
20-
<string>521</string>
20+
<string>522</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>CADisableMinimumFrameDurationOnPhone</key>

0 commit comments

Comments
 (0)