From 2f508993ba2a240d90f2b85e05d6566efc209033 Mon Sep 17 00:00:00 2001 From: DatLag Date: Sun, 26 May 2024 14:04:33 +0200 Subject: [PATCH] added splashscreen --- composeApp/src/androidMain/AndroidManifest.xml | 2 +- .../kotlin/dev/datlag/aniflow/MainActivity.kt | 2 ++ .../androidMain/res/drawable/splash_background.xml | 10 ++++++++++ composeApp/src/androidMain/res/values/themes.xml | 12 ++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 composeApp/src/androidMain/res/drawable/splash_background.xml diff --git a/composeApp/src/androidMain/AndroidManifest.xml b/composeApp/src/androidMain/AndroidManifest.xml index 66272ce..3cfe894 100644 --- a/composeApp/src/androidMain/AndroidManifest.xml +++ b/composeApp/src/androidMain/AndroidManifest.xml @@ -38,7 +38,7 @@ android:hardwareAccelerated="true" android:enableOnBackInvokedCallback="true" android:appCategory="news" - android:theme="@style/AppTheme"> + android:theme="@style/SplashScreenTheme"> + + + + + + + \ No newline at end of file diff --git a/composeApp/src/androidMain/res/values/themes.xml b/composeApp/src/androidMain/res/values/themes.xml index 90d3ca8..8386069 100644 --- a/composeApp/src/androidMain/res/values/themes.xml +++ b/composeApp/src/androidMain/res/values/themes.xml @@ -4,4 +4,16 @@ true true + + \ No newline at end of file