From 366ea0ac47557e424680eb6d24280eda5fde2717 Mon Sep 17 00:00:00 2001 From: SlaVcE <102253539+SlaVcE14@users.noreply.github.com> Date: Mon, 30 Oct 2023 23:48:38 +0100 Subject: [PATCH] Add splash screen --- app/build.gradle | 1 + app/src/main/java/com/sjapps/about/LibraryList.java | 1 + app/src/main/res/values-night/themes.xml | 3 ++- app/src/main/res/values/themes.xml | 3 +++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 013db91..2aae321 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -43,4 +43,5 @@ dependencies { implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.github.slavce14:sj-dialog:1.6.1' + implementation "androidx.core:core-splashscreen:1.0.1" } \ No newline at end of file diff --git a/app/src/main/java/com/sjapps/about/LibraryList.java b/app/src/main/java/com/sjapps/about/LibraryList.java index 984b77b..9d46ca8 100644 --- a/app/src/main/java/com/sjapps/about/LibraryList.java +++ b/app/src/main/java/com/sjapps/about/LibraryList.java @@ -8,6 +8,7 @@ public class LibraryList extends ListGenerator{ public void init() { addItem("SJ Dialog", BuildConfig.VERSION_NAME, "https://github.com/SlaVcE14/SJ-Dialog"); addItem("gson", GsonBuildConfig.VERSION, "https://github.com/google/gson"); + addItem("core-splashscreen","1.0.1","https://developer.android.com/develop/ui/views/launch/splash-screen"); } } diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index 35212c3..740c111 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -31,7 +31,8 @@ @style/ButtonColor ?android:windowBackgroundFallback - + #000000 + #000000