From f8505236a8c7133f6d5c1fdba0f9ce1c6d95cbed Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Fri, 22 Nov 2024 08:17:46 +0530 Subject: [PATCH] Create animated splash screen for Android 12 and later --- .../animated_splash_foreground.xml | 29 +++++++++++++++++++ .../main/res/drawable/splash_foreground.xml | 5 +++- app/src/main/res/values-night-v31/styles.xml | 10 +++++++ app/src/main/res/values-v31/styles.xml | 10 +++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable-v31/animated_splash_foreground.xml create mode 100644 app/src/main/res/values-night-v31/styles.xml create mode 100644 app/src/main/res/values-v31/styles.xml diff --git a/app/src/main/res/drawable-v31/animated_splash_foreground.xml b/app/src/main/res/drawable-v31/animated_splash_foreground.xml new file mode 100644 index 00000000000..a87e95c17a1 --- /dev/null +++ b/app/src/main/res/drawable-v31/animated_splash_foreground.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/splash_foreground.xml b/app/src/main/res/drawable/splash_foreground.xml index 9df2ee3f6bf..29f06f11407 100644 --- a/app/src/main/res/drawable/splash_foreground.xml +++ b/app/src/main/res/drawable/splash_foreground.xml @@ -1,10 +1,13 @@ - diff --git a/app/src/main/res/values-night-v31/styles.xml b/app/src/main/res/values-night-v31/styles.xml new file mode 100644 index 00000000000..4f51d4170a6 --- /dev/null +++ b/app/src/main/res/values-night-v31/styles.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/app/src/main/res/values-v31/styles.xml b/app/src/main/res/values-v31/styles.xml new file mode 100644 index 00000000000..a703f7f8222 --- /dev/null +++ b/app/src/main/res/values-v31/styles.xml @@ -0,0 +1,10 @@ + + + + + +