Skip to content

Commit 2bc6618

Browse files
committed
Adds splash screen styles for Android 12+
1 parent c31e7ee commit 2bc6618

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<style name="WordPress" parent="Base.Wordpress">
5+
<item name="android:navigationBarColor">?attr/colorSurface</item>
6+
<item name="android:windowSplashScreenBackground">?attr/colorOnPrimary</item>
7+
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
8+
</style>
9+
</resources>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<style name="WordPress" parent="Base.Wordpress">
5+
<item name="android:navigationBarColor">@android:color/white</item>
6+
<item name="android:windowLightNavigationBar">true</item>
7+
<item name="android:windowSplashScreenBackground">?attr/colorOnPrimary</item>
8+
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
9+
</style>
10+
</resources>

0 commit comments

Comments
 (0)