diff --git a/android/app/src/main/kotlin/com/stormg/lumadrama/MainActivity.kt b/android/app/src/main/kotlin/com/stormg/lumadrama/MainActivity.kt index 7db28d2..8f25c38 100644 --- a/android/app/src/main/kotlin/com/stormg/lumadrama/MainActivity.kt +++ b/android/app/src/main/kotlin/com/stormg/lumadrama/MainActivity.kt @@ -36,6 +36,9 @@ class MainActivity : FlutterActivity() { private var imeInset = 0 override fun onCreate(savedInstanceState: Bundle?) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + splashScreen.setOnExitAnimationListener { screen -> screen.remove() } + } super.onCreate(savedInstanceState) window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) } diff --git a/android/app/src/main/res/drawable-night-v21/launch_background.xml b/android/app/src/main/res/drawable-night-v21/launch_background.xml index d933a92..35eaddd 100644 --- a/android/app/src/main/res/drawable-night-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-night-v21/launch_background.xml @@ -1,4 +1,10 @@ + + + + diff --git a/android/app/src/main/res/drawable-night/launch_background.xml b/android/app/src/main/res/drawable-night/launch_background.xml index d933a92..35eaddd 100644 --- a/android/app/src/main/res/drawable-night/launch_background.xml +++ b/android/app/src/main/res/drawable-night/launch_background.xml @@ -1,4 +1,10 @@ + + + + diff --git a/android/app/src/main/res/drawable-nodpi/splash_brand.png b/android/app/src/main/res/drawable-nodpi/splash_brand.png new file mode 100644 index 0000000..2ca5a39 Binary files /dev/null and b/android/app/src/main/res/drawable-nodpi/splash_brand.png differ diff --git a/android/app/src/main/res/drawable-nodpi/splash_screen.png b/android/app/src/main/res/drawable-nodpi/splash_screen.png new file mode 100644 index 0000000..96e1134 Binary files /dev/null and b/android/app/src/main/res/drawable-nodpi/splash_screen.png differ diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml index f88598c..35eaddd 100644 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -1,6 +1,10 @@ + + - + diff --git a/android/app/src/main/res/drawable-v31/launch_background.xml b/android/app/src/main/res/drawable-v31/launch_background.xml index 515a7fb..35eaddd 100644 --- a/android/app/src/main/res/drawable-v31/launch_background.xml +++ b/android/app/src/main/res/drawable-v31/launch_background.xml @@ -1,6 +1,10 @@ - + + + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml index f88598c..35eaddd 100644 --- a/android/app/src/main/res/drawable/launch_background.xml +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -1,6 +1,10 @@ + + - + diff --git a/android/app/src/main/res/values-night-v31/styles.xml b/android/app/src/main/res/values-night-v31/styles.xml index 9a38e8f..13a688d 100644 --- a/android/app/src/main/res/values-night-v31/styles.xml +++ b/android/app/src/main/res/values-night-v31/styles.xml @@ -8,6 +8,8 @@ false shortEdges #000000 + @drawable/splash_brand + 0