added splashscreen for < Android 12

pls check
This commit is contained in:
gdlbo
2022-07-14 00:35:14 +03:00
parent 8bbf0ebb1f
commit 941335ec02
10 changed files with 23 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<item android:drawable="@color/gray_850" />
<item>
<bitmap
android:gravity="center"
android:src="@drawable/vtlogo" />
</item>
</layer-list>
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

+6 -2
View File
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<item android:drawable="@color/iclauncher" />
<item>
<nine-patch android:src="@drawable/bg_splash_screen" />
<bitmap
android:gravity="center"
android:src="@drawable/vtlogo" />
</item>
</layer-list>
+5
View File
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="SplashTheme" parent="@style/VkDarkStyle">
<item name="android:windowBackground">@drawable/bg_splash</item>
<item name="android:navigationBarColor">@color/gray_850</item>
</style>
<style name="Theme.AppCompat.DayNight" parent="@style/Theme.AppCompat" />
<style name="Theme.AppCompat.DayNight.DarkActionBar" parent="@style/Theme.AppCompat" />
+1
View File
@@ -25,6 +25,7 @@
<style name="SplashTheme" parent="@style/VkLightStyle">
<item name="android:windowBackground">@drawable/bg_splash</item>
<item name="android:navigationBarColor">@color/gray_20</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:windowLightNavigationBar">true</item>
</style>
+1
View File
@@ -3251,6 +3251,7 @@
<style name="SplashTheme" parent="@style/VkLightStyle">
<item name="android:windowBackground">@drawable/bg_splash</item>
<item name="android:navigationBarColor">@color/gray_20</item>
</style>
<style name="StickerDetailsDarkTheme" parent="@style/VkDarkTheme">